💾 Archived View for jb55.com › ward.asia.wiki.org › proper-title-case captured on 2022-01-08 at 13:51:59. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-12-04)
-=-=-=-=-=-=-
Wiki links are not required to exactly match the case of page titles that they cite. Instead we reduce the link to a slug, retrieve the page, and then render the page with the proper title case as recorded in the page json.
This leads to some complexity when drawing maps by tracing links from page to page. We might render a link well before fetching the page only to find out later that the rendering used the wrong case. We might also quit before fetching an actual page and never know what the proper title case might be.
A good fix might be to remember slug ⇒ title when encountered and then back patch any that might have been rendered incorrectly.