Page MenuHomePhabricator

Reader gets appropriate article short description in search results
Closed, ResolvedPublic

Description

"As a Reader, I want to read the most appropriate article short description in the search results for the REST API search endpoints, so that I can make an informed decision about the results."

The endpoints for the full-text (/search/page) and title search (/search/title) for the MediaWiki REST API return the description for articles in the output.

On English Wikipedia, these should return the local description page property. For other wikis, it should return the Wikidata description.

Event Timeline

Change 627545 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/extensions/Wikibase@master] Add option to force only local short descriptions

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

The patch I made before will cover this.

Change 627545 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Add option to force only local short descriptions

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

Change 631775 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[operations/mediawiki-config@master] Force local short descriptions for enwiki

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

Change 631775 merged by jenkins-bot:
[operations/mediawiki-config@master] Force local short descriptions for enwiki

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

Mentioned in SAL (#wikimedia-operations) [2020-10-06T18:23:38Z] <ppchelko@deploy1001> Synchronized wmf-config/InitialiseSettings.php: IS.php gerrit:631775 T263493 T259622 (duration: 00m 59s)

Mentioned in SAL (#wikimedia-operations) [2020-10-06T18:24:59Z] <ppchelko@deploy1001> Synchronized wmf-config/Wikibase.php: Wikibase.php gerrit:631775 T263493 T259622 (duration: 00m 58s)

Pchelolo reassigned this task from Pchelolo to eprodromou.Tue, Oct 6, 6:25 PM

This is deployed and ready.

When I hit https://api.wikimedia.org/core/v1/wikipedia/en/search/page?q=pizza , I see the description "Italian dish of oven-baked bread with various toppings" from Wikidata, and not "Usually savory dish of flattened bread and toppings" from the {{short description}} in the Pizza page source.

Has this just not hit production yet?

eprodromou reassigned this task from eprodromou to Pchelolo.Fri, Oct 9, 4:57 PM

Petr, can you review, and let me know if I'm missing something?

Now wmf.11 was redeployed, so now it should be ok to test.

Pchelolo reassigned this task from Pchelolo to eprodromou.Sun, Oct 18, 11:43 PM

I don't think there's anything to document here.

eprodromou closed this task as Resolved.Mon, Oct 19, 5:07 PM
eprodromou moved this task from PM Sign-off to Done on the Platform Team Workboards (Green) board.