Last modified: 2009-01-31 16:35:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T19239, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17239 - API should provide DISPLAYTITLE information
API should provide DISPLAYTITLE information
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.15.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on: 14685
Blocks:
  Show dependency treegraph
 
Reported: 2009-01-30 00:40 UTC by Alex Z.
Modified: 2009-01-31 16:35 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Alex Z. 2009-01-30 00:40:48 UTC
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).
Comment 1 Roan Kattouw 2009-01-31 16:35:38 UTC
(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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links