jenkins-bot has submitted this change and it was merged.
Change subject: Enable Parsoid for all VisualEditor wikis
......................................................................
Enable Parsoid for all VisualEditor wikis
The Parsoid extension keeps the Parsoid cache service up to date on any
changes in the wiki. It is deployed in wmf6, and should hopefully also make it
into wmf5 (before this patch can be deployed). See
Ide2475473c46676b9c4528ddb572376fbd0a2602.
This config only enables Parsoid for VE-enabled wikis, but after initial tests
we should enable Parsoid on all wikis the VE will launch on in July to have a
realistic load test and prime the caches.
Change-Id: I6171e0f39612d78265c689e6c11e786664b1608d
---
M wmf-config/CommonSettings.php
M wmf-config/extension-list
2 files changed, 16 insertions(+), 0 deletions(-)
Approvals:
Catrope: Looks good to me, approved
jenkins-bot: Verified
diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 13df6da..7afb225 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -1905,6 +1905,21 @@
if ( $wmgVisualEditorDefault ) {
$wgDefaultUserOptions['visualeditor-enable'] = 1;
}
+
+ // Also include the Parsoid extension when VE is enabled
+ require_once( "$IP/extensions/Parsoid/php/Parsoid.php" );
+ // List the parsoid cache servers to keep up to date. These are only the
+ // front-end caches for now, which means that purges won't reach the
+ // backends. Since purges are optional anyway that is fine for now.
+ // Implicit refreshes via the Cache-control header should reach the
backends
+ // via the frontends.
+ $wgParsoidCacheServers = array(
+ 'http://cerium.wikimedia.org',
+ 'http://titanium.wikimedia.org',
+ );
+ // Skip most update requests initially. Ramp down towards 0 if things
+ // don't fall over.
+ $wgParsoidSkipRatio = 0.95;
}
if ( $wmgUseTemplateData ) {
diff --git a/wmf-config/extension-list b/wmf-config/extension-list
index ab65898..1f72163 100644
--- a/wmf-config/extension-list
+++ b/wmf-config/extension-list
@@ -89,6 +89,7 @@
$IP/extensions/PageImages/PageImages.php
$IP/extensions/PageTriage/PageTriage.php
$IP/extensions/ParserFunctions/ParserFunctions.php
+$IP/extensions/Parsoid/php/Parsoid.php
$IP/extensions/PdfHandler/PdfHandler.php
$IP/extensions/Poem/Poem.php
$IP/extensions/PoolCounter/PoolCounterClient.php
--
To view, visit https://gerrit.wikimedia.org/r/67338
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I6171e0f39612d78265c689e6c11e786664b1608d
Gerrit-PatchSet: 5
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: GWicke <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits