Page MenuHomePhabricator

Support other ways to get the description of the page (which do not require Wikidata to be installed)
Closed, ResolvedPublic

Description

Currently, the extension does a query to the api with prop=description. However, the prop=description is not recognized in a normal MediaWiki installation, which actually gives a warning.

On WMF it works because it's using the WikiData extension. However, most MediaWiki installations out there won't have a WikiData repository.

Instead, there are other extensions that provide a description based on the content of the actual page, and for optimal use outside of WMF, this extension should provide a way to either customize the full API URL, or a way to tell from where to pick the description of the page. Those are alternatives:

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 21 2019, 6:32 PM
Aklapper renamed this task from Support other ways to get the description of the page to Support other ways to get the description of the page (which do not require Wikidata to be installed).Aug 21 2019, 9:00 PM
Jdlrobson added a subscriber: Jdlrobson.

The description is not important. If it's not there it should set it to empty string. Patches welcomed.

Change 531960 had a related patch set uploaded (by Martineznovo; owner: Martineznovo):
[mediawiki/extensions/RelatedArticles@master] Support other ways to get the description of the page

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

Change 531960 merged by jenkins-bot:
[mediawiki/extensions/RelatedArticles@master] Support other ways to get the description of the page

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

I can confirm wikidata descriptions are still showing on the beta cluster:
https://en.m.wikipedia.beta.wmflabs.org/wiki/Time

Thanks for taking care of this and making MediaWiki better for 3rd parties! :)