Content Translation shows short descriptions of pages at different points (including when searching for an article to translate, when showing suggestions or when showing information about links). these descriptions were obtained directly from Wikidata. Now that Wikidata descriptions can be overridden (T184000), a different API needs to be used to make sure local descriptions are used when available.
Description
Details
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/services/cxserver | master | +590 -787 | Update API to access short descriptions | |
mediawiki/extensions/ContentTranslation | master | +12 -15 | Update description API |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Stalled | None | T192838 Magic word on English WP [tracking] | |||
Resolved | Tgr | T184000 Magic word on English WP to override display of Wikidata short description | |||
Resolved | • Petar.petkovic | T191285 Update API to access short descriptions in Content Translation |
Event Timeline
Hi @Pginer-WMF just checking on this. Do you have some estimate of when it might be done? Thanks!
Change 430371 had a related patch set uploaded (by Petar.petkovic; owner: Petar.petkovic):
[mediawiki/extensions/ContentTranslation@master] Update description API
Change 430371 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] Update description API
@Etonkovidova when this is checked you will need to make sure descriptions are shown where they need to be and that there are no regressions.
Also, find some page that has different description than one coming from Wikidata and check which is shown. One example is this article, which has different description defined in wikitext (at the time of writing this).
Change 430573 had a related patch set uploaded (by Santhosh; owner: Santhosh):
[mediawiki/services/cxserver@master] Update API to access short descriptions
I checked with the 'Wagon train" and "The Big Sleep" ( articles for whether the descriptions in Wikidata and descriptions in CX are matching. These articles and other cases showed no discrepancies and no regression.
Wagon train shows the description according to {{short description|Western television series aired 1957-1965}} not the description from wikidata: https://www.wikidata.org/wiki/Q772909: television program
The Big Sleep has {{DEFAULTSORT:Big Sleep, The (1946 Film)}} which is not valid anymore, so the wikidata description is used.
Reopening, because 430573 is still in review. Thank you, @Etonkovidova, for checking 430371.
Change 430573 merged by jenkins-bot:
[mediawiki/services/cxserver@master] Update API to access short descriptions
Mentioned in SAL (#wikimedia-operations) [2018-05-16T04:39:50Z] <kartik@tin> Started deploy [cxserver/deploy@7e898c7]: Update cxserver to 112a1a1 (T191285)
Mentioned in SAL (#wikimedia-operations) [2018-05-16T04:43:42Z] <kartik@tin> Finished deploy [cxserver/deploy@7e898c7]: Update cxserver to 112a1a1 (T191285) (duration: 03m 52s)