Giuseppe Lavagetto has uploaded a new change for review. ( 
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(-)


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

diff --git a/wmf-config/db-codfw.php b/wmf-config/db-codfw.php
index 9a1c886..c10e14a 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'      => 'MediaWiki is in read-only mode for a datacenter 
switchover test. [https://meta.wikimedia.org/wiki/codfw] Please try again in a 
few minutes.',
+#      's2'      => 'MediaWiki is in read-only mode for a datacenter 
switchover test. [https://meta.wikimedia.org/wiki/codfw] Please try again in a 
few minutes.',
+#      'DEFAULT' => 'MediaWiki is in read-only mode for a datacenter 
switchover test. [https://meta.wikimedia.org/wiki/codfw] Please try again in a 
few minutes.', # s3
+#      's4'      => 'MediaWiki is in read-only mode for a datacenter 
switchover test. [https://meta.wikimedia.org/wiki/codfw] Please try again in a 
few minutes.',
+#      's5'      => 'MediaWiki is in read-only mode for a datacenter 
switchover test. [https://meta.wikimedia.org/wiki/codfw] Please try again in a 
few minutes.',
+#      's6'      => 'MediaWiki is in read-only mode for a datacenter 
switchover test. [https://meta.wikimedia.org/wiki/codfw] Please try again in a 
few minutes.',
+#      's7'      => 'MediaWiki is in read-only mode for a datacenter 
switchover test. [https://meta.wikimedia.org/wiki/codfw] Please try again in a 
few minutes.',
 ],
 
 ];
diff --git a/wmf-config/db-eqiad.php b/wmf-config/db-eqiad.php
index 5ba7b4e..9f326ac 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'      => 'MediaWiki is in read-only mode for a datacenter 
switchover test. [https://meta.wikimedia.org/wiki/codfw] Please try again in a 
few minutes.',
+       's2'      => 'MediaWiki is in read-only mode for a datacenter 
switchover test. [https://meta.wikimedia.org/wiki/codfw] Please try again in a 
few minutes.',
+       'DEFAULT' => 'MediaWiki is in read-only mode for a datacenter 
switchover test. [https://meta.wikimedia.org/wiki/codfw] Please try again in a 
few minutes.', # s3
+       's4'      => 'MediaWiki is in read-only mode for a datacenter 
switchover test. [https://meta.wikimedia.org/wiki/codfw] Please try again in a 
few minutes.',
+       's5'      => 'MediaWiki is in read-only mode for a datacenter 
switchover test. [https://meta.wikimedia.org/wiki/codfw] Please try again in a 
few minutes.',
+       's6'      => 'MediaWiki is in read-only mode for a datacenter 
switchover test. [https://meta.wikimedia.org/wiki/codfw] Please try again in a 
few minutes.',
+       's7'      => 'MediaWiki is in read-only mode for a datacenter 
switchover test. [https://meta.wikimedia.org/wiki/codfw] Please try again in a 
few minutes.',
 ],
 
 ];

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

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

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

Reply via email to