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

Change subject: pagePreviews: Deploy to first 50 of stage 1 wikis
......................................................................

pagePreviews: Deploy to first 50 of stage 1 wikis

Add the pp_stage2 and pp_stage1_computed dblists, which represent the
following:

* pp_stage2: The set of wikis that we're not deploying to in the
  near feature.
* pp_stage1_computed: The set of wikis that aren't in either pp_stage0
  or pp_stage2.

Add the pp_stage1.dblist, which is the set of the first 50 wikis
from the expanded pp_stage1_computed dblist.

Enable Page Previews by default for the wikis in the pp_stage1 dblist.

Bug: T162672
Change-Id: I3963e8eae708ba367dc321d62fa383643dccee17
---
A dblists/pp_stage1.dblist
A dblists/pp_stage1_computed.dblist
A dblists/pp_stage2.dblist
M wmf-config/InitialiseSettings.php
4 files changed, 69 insertions(+), 5 deletions(-)


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

diff --git a/dblists/pp_stage1.dblist b/dblists/pp_stage1.dblist
new file mode 100644
index 0000000..c5c3087
--- /dev/null
+++ b/dblists/pp_stage1.dblist
@@ -0,0 +1,53 @@
+# Generated with:
+#
+#   ./multiversion/bin/expanddblist dblists/pp_stage1_computed.dblist | tail 
-n 297 | head -n 50 > dblists/pp_stage1.dblist
+aawiki
+abwiki
+acewiki
+adywiki
+afwiki
+akwiki
+alswiki
+amwiki
+angwiki
+anwiki
+arbcom_cswiki
+arbcom_dewiki
+arbcom_enwiki
+arbcom_fiwiki
+arbcom_nlwiki
+arcwiki
+arwiki
+arzwiki
+astwiki
+aswiki
+avwiki
+aywiki
+azbwiki
+azwiki
+barwiki
+bat_smgwiki
+bawiki
+bclwiki
+be_x_oldwiki
+bewiki
+bgwiki
+bhwiki
+biwiki
+bjnwiki
+bmwiki
+bnwiki
+bowiki
+bpywiki
+brwiki
+bswiki
+bugwiki
+bxrwiki
+cbk_zamwiki
+cdowiki
+cebwiki
+cewiki
+chowiki
+chrwiki
+chwiki
+chywiki
diff --git a/dblists/pp_stage1_computed.dblist 
b/dblists/pp_stage1_computed.dblist
new file mode 100644
index 0000000..029b2a9
--- /dev/null
+++ b/dblists/pp_stage1_computed.dblist
@@ -0,0 +1 @@
+%% wikipedia.dblist - pp_stage0.dblist - pp_stage2.dblist
diff --git a/dblists/pp_stage2.dblist b/dblists/pp_stage2.dblist
new file mode 100644
index 0000000..046910d
--- /dev/null
+++ b/dblists/pp_stage2.dblist
@@ -0,0 +1,2 @@
+enwiki
+dewiki
diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 09e3c04..533d40f 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -13503,9 +13503,10 @@
        'default' => false,
        'sewikimedia' => true, // T68374
 
-       // T136602, T162162: Make Page Previews enabled by default for the 
stage 0
-       // wikis.
+       // T136602, T162162, T162672: Make Page Previews enabled by default for 
the
+       // stage 0 and stage 1 wikis.
        'pp_stage0' => true,
+       'pp_stage1' => true,
 ],
 
 'wgPopupsPageBlacklist' => [
@@ -13538,14 +13539,19 @@
        // T136602: Make Page Previews enabled by default for 90% of anon users 
for
        // the stage 0 wikis.
        'pp_stage0' => 0.9,
+
+       // T162672: Make Page Previews enabled by default for the stage 1 wikis.
+       'pp_stage1' => 1,
 ],
 
 'wmgPopupsBetaFeature' => [
        'default' => true,
 
-       // Explicitly disable Page Previews as a beta feature for the stage 0 
wikis
-       // (reflecting that it's enabled in the wmgUsePopups section above).
+       // Explicitly disable Page Previews as a beta feature for the stage 0 
and
+       // stage 1 wikis (reflecting that it's enabled in the wmgUsePopups 
section
+       // above).
        'pp_stage0' => false,
+       'pp_stage1' => false,
 
        'wikidatawiki' => false,
        'wiktionary' => false,
@@ -13587,8 +13593,10 @@
 'wgPopupsGateway' => [
        'default' => 'mwApiPlain',
 
-       // Make Page Previews use RESTBase for the following stage 0 wikis.
+       // Make Page Previews use RESTBase for the following stage 0 and stage 1
+       // wikis.
        'pp_stage0' => 'restbasePlain',
+       'pp_stage1' => 'restbasePlain',
 ],
 
 // T160081 (and others): Make sure that Page Previews can detect the many, many

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

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

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

Reply via email to