Page MenuHomePhabricator

Use DISPLAYTITLE property and/or subpage title instead of full title
Open, NormalPublic

Description

See https://gerrit.wikimedia.org/r/163139 (and T31648).

https://en.wikipedia.org/w/index.php?title=Special:Book&bookcmd=render_article&arttitle=EBay&oldid=651707381&writer=rdf2latex demonstrates that we are not observing the DISPLAYTITLE magic word. This shows up in Parsoid output as:

<meta property="mw:PageProp/displaytitle" content="eBay" about="#mwt4"/>

For subpages,
https://it.wikisource.org/w/index.php?title=Speciale:Libro&bookcmd=rendering&return_to=Fiore+di+virt%C3%B9%2FI&collection_id=e0c6942ac5b1e95c718bbf040889e82f314bad8e&writer=rdf2latex
demonstrates that we use the full page title. We should probably use the subpage title instead (unless this is a single-page book?).

Event Timeline

cscott created this task.Mar 17 2015, 8:41 PM
cscott raised the priority of this task from to Normal.
cscott updated the task description. (Show Details)
cscott added a project: OCG-PDF-renderer.
cscott added a subscriber: cscott.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 17 2015, 8:41 PM

Change 197761 had a related patch set uploaded (by Cscott):
T93008: Use {{DISPLAYTITLE}} or subpage title where appropriate.

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

Change 197936 had a related patch set uploaded (by Cscott):
T93008: use {{DISPLAYTITLE}} for single-item collections.

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

Change 197761 merged by jenkins-bot:
T93008: Use {{DISPLAYTITLE}} or subpage title where appropriate.

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

Change 197936 merged by jenkins-bot:
T93008: use {{DISPLAYTITLE}} for single-item collections.

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

As already announced in Tech News, OfflineContentGenerator (OCG) will not be used anymore after October 1st, 2017 on Wikimedia sites. OCG will be replaced by Electron. You can read more on mediawiki.org.