Is this the best way to ..
I'm usually pretty good at figuring out ways to do things -- but these aren't necessarily the best ways ... and in an environment as functionality-rich as MediaWiki's appears to be, it's worth thinking through other options. This page lists some design or implementation choices I've made that may have better alternatives.
Alternate names (synonyms, abbreviations, etc.)
There are several situations where there's consistent divergence between the text I want to apppear and the wiki link:
- Abbreviations; for example, Meditations rather than Meditations for the 21st century
- Different word forms; for example, "think about this if you're turning pro" rather than "think about this if you're going to 'turn pro' in the sense of The weird turn pro"
- Subpages; for example "an INWO card", where INWO appears on the Obsessions Past and Present page
My first attempts to do this were to use "Piped links" -- e.g., [Obsessions Past and Present|INWO]. This not only resulted in a lot of typing, it makes things brittle -- if I move INWO to its own page, I have to update all the links.
I'm currently leaning towards doing this with a redirect: I created a page for INWO that redirects to the Obsessions page (and could even redirect to an anchor within that page if that becomes useful). This level of Indirection seems to make it easy for the referrer (the link is just 'INWO') and gives flexibility for later restructuring.
Until [category flattening] is implemented, it seems like the best approach is to explicitly add both categories to each page for a book.