The code in OutputPage::getUnprefixedDisplayTitle() seems broken. It likely doesn't work on multilingual wikis or Translate pages where page language is different from the content language, it probably doesn’t properly reflect the user’s chosen variant, it might not handle gendered namespaces, etc. The solution is probably to tweak the way the Parser and the DISPLAYTITLE parser function work in order to keep the namespace and the unprefixed title separate.
Description
Description
Details
Details
Customize query in gerrit
Related Objects
Related Objects
Event Timeline
Comment Actions
Change 810114 had a related patch set uploaded (by C. Scott Ananian; author: C. Scott Ananian):
[mediawiki/core@master] WIP: Don't allow {{DISPLAYTITLE}} and -{T|..}- to override namespace l10n
Comment Actions
Change 946988 had a related patch set uploaded (by C. Scott Ananian; author: C. Scott Ananian):
[mediawiki/core@master] Store DISPLAYTITLE components in split form
Comment Actions
Change 946989 had a related patch set uploaded (by C. Scott Ananian; author: C. Scott Ananian):
[mediawiki/core@master] WIP: use split display title in OutputPage/EditPage/Article