Page MenuHomePhabricator

Implement {{DISPLAYTITLE}} and use this in the title element if set
Closed, ResolvedPublic

Description

Repro. case:
http://parsoid.wmflabs.org/en/Ebay

in answer:
<title>EBay</title>

We should get:
<title>eBay</title>


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=56868
https://bugzilla.wikimedia.org/show_bug.cgi?id=53566

Details

Reference
bz49076

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:43 AM
bzimport added a project: Parsoid.
bzimport set Reference to bz49076.

Shouldn't be a big deal; I think we're already getting the title from the page.meta info. We just need to add DISPLAYTITLE handling to change it.

We should also expose the DISPLAYTITLE call inline so that the VE can edit it in the correct source location. In the longer term we'd like to move all page properties to a header. See bug 49143 for details on this.

Change 146702 had a related patch set uploaded by Arlolra:
Use {{DISPLAYTITLE}} content in title elt if set

https://gerrit.wikimedia.org/r/146702

Change 146702 merged by jenkins-bot:
Use {{DISPLAYTITLE}} content in title elt if set

https://gerrit.wikimedia.org/r/146702