There's an error message that says "This wiki is in read-only mode". During Ops' planned outages due to the codfw migration, is it possible to make that error message say "This wiki is temporarily in read-only mode. Please try again later"?
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Better handling of read-only mode | mediawiki/extensions/VisualEditor | master | +27 -1 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | Krinkle | T129257 Set expectations with community about planned and possible impact of switchover | |||
| Resolved | • Whatamidoing-WMF | T129387 Inform communities about the planned outage caused by the codfw server change | |||
| Resolved | • Whatamidoing-WMF | T129501 Find out whether it's possible to tell editors that the reason they can't save is due to a planned outage | |||
| Resolved | • AlexMonk-WMF | T129964 Improve how VisualEditor reports read-only mode |
Event Timeline
Comment Actions
How's this? https://people.wikimedia.org/~krenair/T129501-VE-save-readonly-warning.png
Unfortunately loading completely fails in read-only mode :( We should probably change that
Comment Actions
So we can change ApiVisualEditor->isWriteMode to return false (ApiVisualEditorEdit->isWriteMode still returns true), and add a notice like the one shown on the wikitext editor.
You may wish to copy and paste your text into a text file and save it for later.
Don't think this part of the message is appropriate for VE though, @Glaisher
Comment Actions
Change 276537 had a related patch set uploaded (by Alex Monk):
[WIP] Better handling of read-only mode
Comment Actions
Answer: The message that editors saw said that the read-only mode was "probably due to planned maintenance".