Page MenuHomePhabricator

Update method of retrieving short descriptions in the MW TitleWidget to prop=description
Closed, ResolvedPublic1 Estimated Story Points

Description

There's now a magic word which allows editors on the English Wikipedia to override the descriptions from Wikidata, per T184000. The previous method of accessing the descriptions using prop=pageterms now needs to be replaced with prop=description. The output from the new method is quite different, so there'll be a few changes that need to be made.

Old method: https://en.wikipedia.org/w/api.php?action=query&titles=Wagon%20Train&prop=pageterms

New method: https://en.wikipedia.org/w/api.php?action=query&titles=Wagon%20Train&prop=description

Event Timeline

If you are talking about the link inspector, the title widget was upstreamed from VisualEditor to MediaWiki core.

If you are talking about the link inspector, the title widget was upstreamed from VisualEditor to MediaWiki core.

In that case, core needs updating, because it's still pulling the descriptions from pageterms rather than description.

Esanders renamed this task from Update method of retrieving short descriptions in the visual editor to prop=description to Update method of retrieving short descriptions in the MW TitleWidget to prop=description.Apr 4 2018, 2:15 PM
Esanders added a project: OOUI.

Change 423935 had a related patch set uploaded (by Esanders; owner: Esanders):
[mediawiki/core@master] Use new API for descriptions in TitleWidget

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

Change 423935 merged by jenkins-bot:
[mediawiki/core@master] Use new API for descriptions in TitleWidget

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

Deskana set the point value for this task to 1.

Change 431586 had a related patch set uploaded (by Esanders; owner: Esanders):
[mediawiki/extensions/VisualEditor@master] Update link cache to use new descriptions API

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

Change 431586 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Update link cache to use new descriptions API

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