Page MenuHomePhabricator

API should provide DISPLAYTITLE information
Closed, ResolvedPublic

Description

It would be nice if the title produced by the DISPLAYTITLE magic word (when present) could be retrieved through the API. This could be useful for things that create user-read content, so that they can use the correct title, not whatever is being substituted by title restrictions (iPod for example).

The information is currently only stored in parserOutput, so it would probably have to be an option on action=parse.

The only way to get this information now is by looking for it in the page text, which, besides being inefficient, breaks if wrapper templates are used around the magic word (like enwiki uses).


Version: 1.15.x
Severity: enhancement

Details

Reference
bz17239

Related Objects

StatusSubtypeAssignedTask
ResolvedCatrope
OpenFeatureNone
ResolvedNone

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:25 PM
bzimport set Reference to bz17239.

(In reply to comment #0)

It would be nice if the title produced by the DISPLAYTITLE magic word (when
present) could be retrieved through the API. This could be useful for things
that create user-read content, so that they can use the correct title, not
whatever is being substituted by title restrictions (iPod for example).

The information is currently only stored in parserOutput, so it would probably
have to be an option on action=parse.

Done in r46646 and r46647.