Giuseppe Lavagetto has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/351614 )

Change subject: Change the read-only message to be more informative during the 
switchover
......................................................................


Change the read-only message to be more informative during the switchover

Bug: T164177
Change-Id: I5648209dd453c432bac5ab29c0186a2fe25ce3a9
---
M wmf-config/db-codfw.php
M wmf-config/db-eqiad.php
2 files changed, 14 insertions(+), 14 deletions(-)

Approvals:
  Giuseppe Lavagetto: Looks good to me, approved
  EddieGP: Looks good to me, but someone else must approve
  ArielGlenn: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/wmf-config/db-codfw.php b/wmf-config/db-codfw.php
index 9a1c886..7d5a542 100644
--- a/wmf-config/db-codfw.php
+++ b/wmf-config/db-codfw.php
@@ -643,13 +643,13 @@
 # to prevent accidental write to eqiad from codfw,
 # when the master dc is eqiad.
 'readOnlyBySection' => [
-#      's1'      => 'MediaWiki is in read-only mode for maintenance. Please 
try again in a few minutes',
-#      's2'      => 'MediaWiki is in read-only mode for maintenance. Please 
try again in a few minutes',
-#      'DEFAULT' => 'MediaWiki is in read-only mode for maintenance. Please 
try again in a few minutes', # s3
-#      's4'      => 'MediaWiki is in read-only mode for maintenance. Please 
try again in a few minutes',
-#      's5'      => 'MediaWiki is in read-only mode for maintenance. Please 
try again in a few minutes',
-#      's6'      => 'MediaWiki is in read-only mode for maintenance. Please 
try again in a few minutes',
-#      's7'      => 'MediaWiki is in read-only mode for maintenance. Please 
try again in a few minutes',
+#      's1'      => 'This wiki is in read-only mode for a datacenter 
switchover test. See https://meta.wikimedia.org/wiki/codfw for more 
information.',
+#      's2'      => 'This wiki is in read-only mode for a datacenter 
switchover test. See https://meta.wikimedia.org/wiki/codfw for more 
information.',
+#      'DEFAULT' => 'This wiki is in read-only mode for a datacenter 
switchover test. See https://meta.wikimedia.org/wiki/codfw for more 
information.', # s3
+#      's4'      => 'This wiki is in read-only mode for a datacenter 
switchover test. See https://meta.wikimedia.org/wiki/codfw for more 
information.',
+#      's5'      => 'This wiki is in read-only mode for a datacenter 
switchover test. See https://meta.wikimedia.org/wiki/codfw for more 
information.',
+#      's6'      => 'This wiki is in read-only mode for a datacenter 
switchover test. See https://meta.wikimedia.org/wiki/codfw for more 
information.',
+#      's7'      => 'This wiki is in read-only mode for a datacenter 
switchover test. See https://meta.wikimedia.org/wiki/codfw for more 
information.',
 ],
 
 ];
diff --git a/wmf-config/db-eqiad.php b/wmf-config/db-eqiad.php
index 5ba7b4e..9af3a5c 100644
--- a/wmf-config/db-eqiad.php
+++ b/wmf-config/db-eqiad.php
@@ -663,13 +663,13 @@
 
 # This key must exist for the master switch script to work
 'readOnlyBySection' => [
-       's1'      => 'MediaWiki is in read-only mode for maintenance. Please 
try again in a few minutes',
-       's2'      => 'MediaWiki is in read-only mode for maintenance. Please 
try again in a few minutes',
-       'DEFAULT' => 'MediaWiki is in read-only mode for maintenance. Please 
try again in a few minutes', # s3
-       's4'      => 'MediaWiki is in read-only mode for maintenance. Please 
try again in a few minutes',
-       's5'      => 'MediaWiki is in read-only mode for maintenance. Please 
try again in a few minutes',
-       's6'      => 'MediaWiki is in read-only mode for maintenance. Please 
try again in a few minutes',
-       's7'      => 'MediaWiki is in read-only mode for maintenance. Please 
try again in a few minutes',
+       's1'      => 'This wiki is in read-only mode for a datacenter 
switchover test. See https://meta.wikimedia.org/wiki/codfw for more 
information.',
+       's2'      => 'This wiki is in read-only mode for a datacenter 
switchover test. See https://meta.wikimedia.org/wiki/codfw for more 
information.',
+       'DEFAULT' => 'This wiki is in read-only mode for a datacenter 
switchover test. See https://meta.wikimedia.org/wiki/codfw for more 
information.', # s3
+       's4'      => 'This wiki is in read-only mode for a datacenter 
switchover test. See https://meta.wikimedia.org/wiki/codfw for more 
information.',
+       's5'      => 'This wiki is in read-only mode for a datacenter 
switchover test. See https://meta.wikimedia.org/wiki/codfw for more 
information.',
+       's6'      => 'This wiki is in read-only mode for a datacenter 
switchover test. See https://meta.wikimedia.org/wiki/codfw for more 
information.',
+       's7'      => 'This wiki is in read-only mode for a datacenter 
switchover test. See https://meta.wikimedia.org/wiki/codfw for more 
information.',
 ],
 
 ];

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5648209dd453c432bac5ab29c0186a2fe25ce3a9
Gerrit-PatchSet: 2
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: ArielGlenn <[email protected]>
Gerrit-Reviewer: EddieGP <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to