Page MenuHomePhabricator

Set $wgRelatedArticlesDescriptionSource = 'wikidata' in mediawiki-config
Closed, ResolvedPublic

Description

After the change in https://gerrit.wikimedia.org/r/531960 T230947: Support other ways to get the description of the page (which do not require Wikidata to be installed), a new configuration setting was added, that defaults to false (no description is fetched). Before that change, there was no configuration setting for that, and it was fetching the description from wikidata.

To continue using the description from wikidata on WMF wikis, the new configuration variable must be set:

$wgRelatedArticlesDescriptionSource = 'wikidata';

Impact

  • This needs to be done before the affected patch (https://gerrit.wikimedia.org/r/531960) lands into production.
  • There's no impact if the configuration is added before the patch lands in production (this configuration won't be used until the above patch is merged)
  • If the patch is merged before the configuration change, descriptions will be missing from RelatedArticles until the configuration is changed.

Event Timeline

Change 532675 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[operations/mediawiki-config@master] Set $wgRelatedArticlesDescriptionSource to wikidata in config

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

This needs to be done before the affected patch (https://gerrit.wikimedia.org/r/531960) lands into production.

Too late. Really, these kinds of config patches should be merged before the patch using it is merged into master.

Change 532675 merged by jenkins-bot:
[operations/mediawiki-config@master] Set $wgRelatedArticlesDescriptionSource to wikidata in config

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

Mentioned in SAL (#wikimedia-operations) [2019-08-27T15:41:28Z] <jforrester@deploy1001> Synchronized wmf-config/CommonSettings.php: T231279 Set to (duration: 00m 54s)

Mentioned in SAL (#wikimedia-operations) [2019-08-27T15:41:41Z] <James_F> That was T231279 Set $wgRelatedArticlesDescriptionSource to wikidata