Hey,
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:
https://phabricator.wikimedia.org/T164177
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.
- Eddie
On 01.05.2017 00:18, Jaime Crespo wrote:
On Sun, Apr 30, 2017 at 9:24 PM, Eddie Greiner-Petter
<
wikimedia.org(a)eddie-sh.de> wrote:
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
message) contains:
The system administrator who locked it offered this explanation:
MediaWiki is in read-only mode for maintenance. Please try again in a
few minutes
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:
https://phabricator.wikimedia.org/source/mediawiki-config/browse/master/wmf…
https://phabricator.wikimedia.org/source/mediawiki-config/browse/master/wmf…
I think with the pressure of keeping everything up, plus discussing
internally if we should declare a specific amount of time (given it doesn't
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
https://phabricator.wikimedia.org/T163455#3199813
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.
Thanks,