Anonymous editing in MobileFrontend has been enabled on Wikimedia wikis since 2015 (T93210: Set $wgMFEditorOptions['anonymousEditing'] = true by default for all wikis) and enabled by default in the extension shortly thereafter (rEMFR1d327aca4eab: Change default value of anonymousEditing to true).
There is still an option to disable it: $wgMFEditorOptions['anonymousEditing'] = false;, and a lot of code (in Minerva) to support this, including a popup (call-to-action) in the mobile editor urging users to register (in 'skins.minerva.editor' module), and a popup (guider) on the page urging them to to edit after they have registered via the previous popup (in 'skins.minerva.newusers' module). All of this never runs and is never tested.
I think we should remove this option and the code supporting it.
acceptance criteria
- Make sure code relating to anonymous CTAs for section edit links is removed.
-
Editing button respects wgPermissionssee T206823
QA steps
Test on the beta cluster https://en.wikipedia.beta.wmflabs.org/wiki/Transcluded_page
Some exploratory testing would be useful here.
- As an anonymous user can you edit the page?
- Do the options to login/sign in work?