Pmiazga has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/358091 )

Change subject: Use the new wgPopupsGateway config variable instead
......................................................................

Use the new wgPopupsGateway config variable instead

With T165018 `wgPopupsAPIUseRESTBase` becomes deprecated, new
codebase will use `wgPopupsGateway`. For now we will keep both
variables and after rolling HTML capable previews to all servers
we wll remove old `wgPopupsAPIUseRESTBase` config variable.

Bug: T165018
Change-Id: I4f42c61b155a37c5dd42bc40034583865abd5d7a
---
M wmf-config/InitialiseSettings.php
1 file changed, 12 insertions(+), 0 deletions(-)


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

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 7605c12..e121471 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -13331,6 +13331,18 @@
        'huwiki' => true,
 ],
 
+'wgPopupsGateway' => [
+       'default' => 'mwApiPlain', 
+
+       // T158221: Make Page Previews use RESTBase for the following stage 0 
wikis.
+       'itwiki' => 'restbasePlain',
+       'ruwiki' => 'restbasePlain',
+       'elwiki' => 'restbasePlain',
+       'cawiki' => 'restbasePlain',
+       'hewiki' => 'restbasePlain',
+       'huwiki' => 'restbasePlain',
+],
+
 // T160081 (and others): Make sure that Page Previews can detect the many, many
 // variants of the NavPopups gadget.
 //

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4f42c61b155a37c5dd42bc40034583865abd5d7a
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Pmiazga <pmia...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to