Those variables are in the process to be moved to Etcd to make the
configuration dynamic, see  and related tasks, hence (re)moving the
problem in the first place. Even in the case that this will not go to
production in time, the hardcoded part in Switchdc can be easily removed,
please find my detailed reply directly in the task in .
On Mon, May 1, 2017 at 1:37 AM, Eddie Greiner-Petter <
I had a quick chat with Zppix about how to solve this and we ended up
creating this task instead of just sending in a patch:
While it looks quite trivial to change the strings in the config files
on the first glance, I noticed that the switchdc script actually
hardcodes this message in the scripts used to set mediawiki ro and back
rw (maybe also somewhere else, haven't checked), which needs us to pay
attention to not break switchdc by exchanging that message. Details are
described on the task, let's continue there.
On 01.05.2017 00:18, Jaime Crespo wrote:
On Sun, Apr 30, 2017 at 9:24 PM, Eddie
That reminds me that we noticed during switch to
codfw that the message
shown when trying to really edit a page (the mediawiki read-only
The system administrator who locked it offered this explanation:
MediaWiki is in read-only mode for maintenance. Please try again in a
which isn't quite informative. Is there a task for changing the "offered
explanation" part? Some hint about the DC switch (and maybe a link to
the meta page) would be better.
The read-only messages are controlled by these strings:
I think with the pressure of keeping everything up, plus discussing
internally if we should declare a specific amount of time (given it
auto-update) we ended up a very generic message.
We are, however, looking
at showing better error messages like on the ticket I reported at
Please send a pull request or file a new ticket on Phabricator with the
#operations and #codfw-rollout tags with a proposal and we can definitely
change it by Wednesday.
Wikitech-l mailing list