Aude has uploaded a new change for review.

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

Change subject: Set entityAccessLimit for WikibaseClient wikis
......................................................................

Set entityAccessLimit for WikibaseClient wikis

Default is 250, and set to 500 for Wikidata since there
are maintenance pages that use more.

Above 500 and they already run into "too many expensive lua calls"
errors.

Change-Id: I457480695f761de20890585c371df04e273f5224
See: https://phabricator.wikimedia.org/P1946
---
M wmf-config/InitialiseSettings.php
M wmf-config/Wikibase.php
2 files changed, 6 insertions(+), 0 deletions(-)


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

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 6a53617..532af09 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -14967,6 +14967,11 @@
        'arbitraryaccess' => true,
 ),
 
+'wmgWikibaseEntityAccessLimit' => array(
+       'default' => 250,
+       'wikidatawiki' => 500,
+),
+
 'wmgUseWikibaseRepo' => array(
        'default' => false,
        'wikidata' => true,
diff --git a/wmf-config/Wikibase.php b/wmf-config/Wikibase.php
index 70d734e..affb299 100644
--- a/wmf-config/Wikibase.php
+++ b/wmf-config/Wikibase.php
@@ -169,6 +169,7 @@
 
        $wgWBClientSettings['allowDataTransclusion'] = $wmgWikibaseEnableData;
        $wgWBClientSettings['allowArbitraryDataAccess'] = 
$wmgWikibaseEnableArbitraryAccess;
+       $wgWBClientSettings['entityAccessLimit'] = 
$wmgWikibaseEntityAccessLimit;
 
        $wgWBClientSettings['sharedCacheKeyPrefix'] .= $wgWBSharedCacheKey;
        $wgWBClientSettings['sharedCacheDuration'] = 60 * 60 * 24;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I457480695f761de20890585c371df04e273f5224
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

Reply via email to