Last modified: 2009-01-31 16:35:38 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).
(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.