Page MenuHomePhabricator

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

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 raised the priority of this task from to Medium.
cscott updated the task description. (Show Details)
cscott added a project: OCG-PDF-renderer.
cscott added a subscriber: cscott.

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.

Aklapper lowered the priority of this task from Medium to Low.Feb 28 2021, 11:17 AM
Aklapper edited projects, added Collection; removed Patch-For-Review.

For the records, https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Collection/+/163139/ has been abandoned. Adding Collection as that is the codebase that the patch is about. (In the meantime, OCG has been superseded by Proton and Electron-PDFs on Wikimedia servers.)