Aude has uploaded a new change for review.

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


Change subject: Update Wikibase settings
......................................................................

Update Wikibase settings

- enable use of term search key
- enable json format for changes data (changesAsJson needed in repo only)

Change-Id: Ic9b668c7abf69371ffcfa94ed566ad763e5539cc
---
M wmf-config/CommonSettings.php
1 file changed, 2 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/44/59844/1

diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 3684949..6d6e5ee 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -2671,7 +2671,7 @@
                'string',
        );
 
-       $wgWBSettings['changesAsJson'] = false;
+       $wgWBSettings['changesAsJson'] = true;
 
        // Assigning the correct content models to the namespaces
        $wgWBSettings['entityNamespaces'][CONTENT_MODEL_WIKIBASE_ITEM] = 
NS_MAIN;
@@ -2679,7 +2679,7 @@
 
        $wgWBSettings['idBlacklist'] = array( 1, 2, 3, 4, 5, 8, 13, 23, 24, 42, 
80, 666, 1337, 1868, 1971, 2000, 2001, 2012, 2013 );
 
-       $wgWBSettings['withoutTermSearchKey'] = true;
+       $wgWBSettings['withoutTermSearchKey'] = false;
 
        $wgWBSettings['clientDbList'] = array_merge(
                array( 'test2wiki' => 'test2wiki' ),
@@ -2700,7 +2700,6 @@
        require_once( "$IP/extensions/Wikibase/lib/WikibaseLib.php" );
        require_once( "$IP/extensions/Wikibase/client/WikibaseClient.php" );
 
-       $wgWBSettings['changesAsJson'] = false;
        $wgWBSettings['changesDatabase'] = 'wikidatawiki';
        $wgWBSettings['repoDatabase'] = 'wikidatawiki';
 

-- 
To view, visit https://gerrit.wikimedia.org/r/59844
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic9b668c7abf69371ffcfa94ed566ad763e5539cc
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Aude <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to