jenkins-bot has submitted this change and it was merged. ( 
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

Changes:
* Add the pp_stage1_raw dblist, which is the set of wikis that aren't in
  either pp_stage0 or enwiki or dewiki.
* Add the pp_stage1.dblist, which is the set of the first 50 wikis
  from the expanded pp_stage1_raw 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_raw.dblist
A docroot/noc/conf/pp_stage1.dblist
A docroot/noc/conf/pp_stage1_raw.dblist
M wmf-config/CommonSettings.php
M wmf-config/InitialiseSettings.php
6 files changed, 90 insertions(+), 6 deletions(-)

Approvals:
  Chad: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/dblists/pp_stage1.dblist b/dblists/pp_stage1.dblist
new file mode 100644
index 0000000..b102441
--- /dev/null
+++ b/dblists/pp_stage1.dblist
@@ -0,0 +1,53 @@
+# Generated with:
+#
+#   ./multiversion/bin/expanddblist dblists/pp_stage1_raw.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_raw.dblist b/dblists/pp_stage1_raw.dblist
new file mode 100644
index 0000000..2828199
--- /dev/null
+++ b/dblists/pp_stage1_raw.dblist
@@ -0,0 +1,6 @@
+# This file is used to generate pp_stage1.dblist. It can be removed after the
+# progressive rollout of Page Previews to all but enwiki and dewiki, which are
+# explicitly disabled via InitialiseSettings.php
+# (see https://phabricator.wikimedia.org/T162672).
+
+%% wikipedia.dblist - pp_stage0.dblist
diff --git a/docroot/noc/conf/pp_stage1.dblist 
b/docroot/noc/conf/pp_stage1.dblist
new file mode 120000
index 0000000..27d0ca3
--- /dev/null
+++ b/docroot/noc/conf/pp_stage1.dblist
@@ -0,0 +1 @@
+../../../dblists/pp_stage1.dblist
\ No newline at end of file
diff --git a/docroot/noc/conf/pp_stage1_raw.dblist 
b/docroot/noc/conf/pp_stage1_raw.dblist
new file mode 120000
index 0000000..66803c6
--- /dev/null
+++ b/docroot/noc/conf/pp_stage1_raw.dblist
@@ -0,0 +1 @@
+../../../dblists/pp_stage1_raw.dblist
\ No newline at end of file
diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 66565e0..32e6f83 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -191,7 +191,7 @@
                        'nowikidatadescriptiontaglines',
                        'related-articles-footer-blacklisted-skins',
                        'top6-wikipedia', 'rtl',
-                       'pp_stage0'
+                       'pp_stage0', 'pp_stage1'
                ] as $tag ) {
                $dblist = MWWikiversions::readDbListFile( $tag );
                if ( in_array( $wgDBname, $dblist ) ) {
diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 09e3c04..b995b4c 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -13503,9 +13503,13 @@
        '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,
+
+       'enwiki' => false,
+       'dewiki' => false,
 ],
 
 'wgPopupsPageBlacklist' => [
@@ -13538,14 +13542,22 @@
        // 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,
+
+       'enwiki' => 0,
+       'dewiki' => 0,
 ],
 
 '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,
@@ -13558,6 +13570,9 @@
        'commonswiki' => false,
        // T166894
        'specieswiki' => false,
+
+       'enwiki' => true,
+       'dewiki' => true,
 ],
 
        // Careful! This value should not be increased without coordination 
with the
@@ -13576,6 +13591,9 @@
        'itwiki' => 0.01,
        'huwiki' => 0.01,
        'ruwiki' => 0.01,
+
+       'enwiki' => 0,
+       'dewiki' => 0,
 ],
 
 'wgPopupsStatsvSamplingRate' => [
@@ -13587,8 +13605,13 @@
 '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',
+
+       'enwiki' => 'mwApiPlain',
+       'dewiki' => 'mwApiPlain',
 ],
 
 // 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: merged
Gerrit-Change-Id: I3963e8eae708ba367dc321d62fa383643dccee17
Gerrit-PatchSet: 8
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Phuedx <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: Florianschmidtwelzow <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to