Aude has uploaded a new change for review. https://gerrit.wikimedia.org/r/268182
Change subject: Put $wgMFQueryPropModules and $wgMFSearchApiModules in InitialiseSettings.php ...................................................................... Put $wgMFQueryPropModules and $wgMFSearchApiModules in InitialiseSettings.php Explicitly define a default and the setting for Wikidata. Also, displaytitle does not work so well on Wikidata, displaytitle is not multilingual and is just stored in pageprops. For Wikidata, that's not helpful. Removing displaytitle will probably fix T120197. Bug: T120197 Bug: T125672 Change-Id: I16e61d02c4f2cf827875ec9c59da2ce6064a0bd0 --- M wmf-config/InitialiseSettings.php M wmf-config/mobile.php 2 files changed, 15 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config refs/changes/82/268182/1 diff --git a/wmf-config/InitialiseSettings.php b/wmf-config/InitialiseSettings.php index c8ff50e..e20ddf8 100644 --- a/wmf-config/InitialiseSettings.php +++ b/wmf-config/InitialiseSettings.php @@ -13582,6 +13582,18 @@ 'wmgMobileFrontend' => array( 'default' => true, ), +'wmgMFQueryPropModules' => array( + 'default' => array( 'pageprops' ), + 'wikidata' => array( 'pageprops', 'pageterms' ), +), +'wmgMFSearchAPIParams' => array( + 'default' => array( + 'ppprop' => 'displaytitle' + ), + 'wikidata' => array( + 'wbptterms' => 'label' + ) +), 'wmgUseGather' => array( 'default' => false, 'testwiki' => true, diff --git a/wmf-config/mobile.php b/wmf-config/mobile.php index c1bccce..3f44f6b 100644 --- a/wmf-config/mobile.php +++ b/wmf-config/mobile.php @@ -99,6 +99,9 @@ // enable editing for unregistered users $wgMFEditorOptions = $wmgMFEditorOptions; + $wgMFQueryPropModules = $wmgMFQueryPropModules; + $wgMFSearchAPIParams = $wmgMFSearchAPIParams; + $wgMFUseWikibaseDescription = true; // Alpha experiment // Turn on volunteer recruitment -- To view, visit https://gerrit.wikimedia.org/r/268182 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I16e61d02c4f2cf827875ec9c59da2ce6064a0bd0 Gerrit-PatchSet: 1 Gerrit-Project: operations/mediawiki-config Gerrit-Branch: master Gerrit-Owner: Aude <aude.w...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits