Page MenuHomePhabricator

DISPLAYTITLE is not used after mobile edit
Closed, ResolvedPublic



  1. Go to
  2. Click the pencil button
  3. Do some random edit
  4. "Continue" -> "Save"
  5. "IPhone" is now shown in page title <title> and heading <h1>,

instead of "iPhone".

Version: unspecified
Severity: normal
See Also:



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:08 AM
bzimport set Reference to bz60251.
bzimport added a subscriber: Unknown Object (MLST).

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Mingle card

Hmm, I wonder if this is by design. DISPLAYTITLE is *not* the page title, and to show it as the title would be misleading, not to mention potentially confusing -- imagine that the user modifies the DISPLAYTITLE in the process of editing the page. Then what do we do?

The desktop version of MediaWiki ignores the template when showing the edit interface (both in the <title> and header), see For consistency, we should probably do the same.

Oh wait, I see what you're saying, sorry about that -- I was thinking of the other bug :P Hmm, I'll need to look into this..

Change 108539 had a related patch set uploaded by Theopolisme:
Use DISPLAYTITLE when rendering pages

Change 108539 merged by jenkins-bot:
Use DISPLAYTITLE when rendering pages

(In reply to comment #6)

For those who don't know what DISPLAYTITLE is see

That's a local wrapper template. "DISPLAYTITLE" is a MediaWiki core parser function (cf. [[mw:Help:Magic words]]).