Page MenuHomePhabricator

Editor doesn't load when editing CSS/JS/Lua on mobile
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Login to Wikipedia from a mobile device
  • Try to edit a css, js or module page

What happens?:
This message comes - ‘The editor will now load. If you still see this message after a few seconds, please reload the page.’ But no text editor comes along. Even if you go to edit through hotcat gadget from mobile, you have the same problem.

Screenshot_20230415-044314_1.png (1×720 px, 116 KB)

What should have happened instead?:
The mobile editor or the default editor should load.

Other information (browser name/version, screenshots, etc.):
Desktop Minerva does not have this problem.

Event Timeline

This comment was removed by Nardog.

Is it? In T334797, the problem isn't just that the mobile editor doesn't load but that submitting the edit form doesn't do anything, even with JavaScript off.

Is it? In T334797, the problem isn't just that the mobile editor doesn't load but that submitting the edit form doesn't do anything, even with JavaScript off.

The comment was based on

The editor will now load. If you still see this message after a few seconds, please reload the page.

Which is why it's framed as the same symptom. Could be entirely different causes.

Nardog renamed this task from The default MediaWiki editor is not loading on mobile to Editor doesn't load when editing CSS/JS/Lua on mobile.Apr 16 2023, 2:33 AM
Nardog updated the task description. (Show Details)
Nardog updated the task description. (Show Details)

Change 909319 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/MobileFrontend@master] Mobile editor: Don't try to take over on non-wikitext content

https://gerrit.wikimedia.org/r/909319

Change 909319 merged by jenkins-bot:

[mediawiki/extensions/MobileFrontend@master] Mobile editor: Don't try to take over on non-wikitext content

https://gerrit.wikimedia.org/r/909319

Change 909275 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/MobileFrontend@wmf/1.41.0-wmf.4] Mobile editor: Don't try to take over on non-wikitext content

https://gerrit.wikimedia.org/r/909275

Change 909275 merged by jenkins-bot:

[mediawiki/extensions/MobileFrontend@wmf/1.41.0-wmf.4] Mobile editor: Don't try to take over on non-wikitext content

https://gerrit.wikimedia.org/r/909275

Mentioned in SAL (#wikimedia-operations) [2023-04-17T20:26:37Z] <urbanecm@deploy2002> Started scap: Backport for [[gerrit:909274|Mobile editor: Don't try to take over if the form has already been submitted (T334794 T334797 T334877)]], [[gerrit:909275|Mobile editor: Don't try to take over on non-wikitext content (T334799)]]

Mentioned in SAL (#wikimedia-operations) [2023-04-17T20:27:49Z] <urbanecm@deploy2002> urbanecm and matmarex: Backport for [[gerrit:909274|Mobile editor: Don't try to take over if the form has already been submitted (T334794 T334797 T334877)]], [[gerrit:909275|Mobile editor: Don't try to take over on non-wikitext content (T334799)]] synced to the testservers: mwdebug2002.codfw.wmnet, mwdebug1001.eqiad.wmnet, mwdebug2001.codfw.wmnet, mwdebug1002.eqiad.wmnet

Mentioned in SAL (#wikimedia-operations) [2023-04-17T20:35:52Z] <urbanecm@deploy2002> Finished scap: Backport for [[gerrit:909274|Mobile editor: Don't try to take over if the form has already been submitted (T334794 T334797 T334877)]], [[gerrit:909275|Mobile editor: Don't try to take over on non-wikitext content (T334799)]] (duration: 09m 14s)

matmarex added a project: Skipped QA.

The mobile editor should be functional in this scenario again. Sorry about that.