Page MenuHomePhabricator

{{PAGENAME}} etc does not get affected by {{DISPLAYTITLE:nn}}
Closed, DeclinedPublic

Description

Author: H92.wikipedia

Description:
When, for example in the article [[iPhone]], using {{DISPLAYTITLE:iPhone}}, {{PAGENAME}} (and the other pagename templates) still renders “IPhone”, but should render “iPhone”.


Version: unspecified
Severity: normal

Details

Reference
bz15385

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 10:20 PM
bzimport set Reference to bz15385.
bzimport added a subscriber: Unknown Object (MLST).

These are two different things: {{DISPLAYTITLE}} defines a formal name for the header over 'From Wikipedia, the free encyclopedia', while {{PAGENAME}} and alikes return the technical piece of information - title under which the page is stored in database. For example, if $wgRestrictDisplayTitle is set to false, {{DISPLAYTITLE}} is not restricted to titles that normalise to page name, thus your proposal will make {{PAGENAME}} return a wrong title in links, etc for such cases. Recommend WONTFIX.

H92.wikipedia wrote:

OK, I’ll wontfix this. Thanks for the explanation. :)