MediaWiki: how to make DISPLAYTITLE be used in categories listings
- by Konstantin Boyandin
The problem: a MediaWiki-driven site uses subpages to build pages hierarchy. When I add something like
Page1/Page2/Subpage
the exactly above string appears in listings and looks clumsy. I can't efficiently use short subpage title (Subpage in this example), since it can appear in different contexts and could confuse users.
I can use DISPLAYTITLE magic word, with proper values of $wgRestrictDisplayTitle and $wgAllowDisplayTitle, to reassign page title and make it show on the page.
However, when I look into categories listing this page, I will still see "Page1/Page2/Subpage" instead of the title assigned.
Is there a simple way (through 'hack' or via relevant extension) to make the new title appear in every listing as well?