jenkins-bot has submitted this change and it was merged.
Change subject: Put wikibase cache settings together
......................................................................
Put wikibase cache settings together
Change-Id: I13524b94a475484148964ea95e751ce7797b1063
---
M wmf-config/Wikibase.php
1 file changed, 2 insertions(+), 3 deletions(-)
Approvals:
Reedy: Looks good to me, approved
jenkins-bot: Verified
diff --git a/wmf-config/Wikibase.php b/wmf-config/Wikibase.php
index 5522382..6f3834a 100644
--- a/wmf-config/Wikibase.php
+++ b/wmf-config/Wikibase.php
@@ -22,9 +22,6 @@
$wgExtraNamespaces[WB_NS_QUERY] = 'Query';
$wgExtraNamespaces[WB_NS_QUERY_TALK] = 'Query_talk';
- $wgWBRepoSettings['dataSquidMaxage'] = 1 * 60 * 60;
- $wgWBRepoSettings['sharedCacheDuration'] = 60 * 60 * 24;
-
// Assigning the correct content models to the namespaces
$wgWBRepoSettings['entityNamespaces'][CONTENT_MODEL_WIKIBASE_ITEM] =
NS_MAIN;
$wgWBRepoSettings['entityNamespaces'][CONTENT_MODEL_WIKIBASE_PROPERTY]
= WB_NS_PROPERTY;
@@ -81,6 +78,8 @@
// Bug 51637 and 46953
$wgGroupPermissions['*']['property-create'] = ( $wgDBname ===
'testwikidatawiki' );
+ $wgWBRepoSettings['dataSquidMaxage'] = 1 * 60 * 60;
+ $wgWBRepoSettings['sharedCacheDuration'] = 60 * 60 * 24;
$wgWBRepoSettings['sharedCacheKeyPrefix'] =
"$wmgWikibaseCachePrefix/WBL-$wmfVersionNumber";
$wgPropertySuggesterMinProbability = 0.071;
--
To view, visit https://gerrit.wikimedia.org/r/158112
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I13524b94a475484148964ea95e751ce7797b1063
Gerrit-PatchSet: 2
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Aude <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits