At itwiki village pump it was pointed out that mobile version has some troubles with links containing the "action" parameters. Let's take as example the village pump page itself (mobile version). If you manually go to https://it.m.wikipedia.org/wiki/Wikipedia:Officina?action=edit, the usual editor pops up for a second and is then overlapped by a new editor which only contains the header of the page (everything that comes before the first section). Or, if you go to https://it.m.wikipedia.org/wiki/Wikipedia:Officina?action=purge, the window for purging the page is shown for a second and then the same partial editor comes out. This makes "action" completely unuseful for mobile users.
Description
Details
Related Objects
Event Timeline
This seems like a regression. This used to work fine.
Not sure if editing code outside MobileFrontend is causing this so tagging VisualEditor until we know the root cause
Yeah, VE is quite likely involved in this bug. I also tried to test this bug on my local wiki, but I actually surrendered due to Parsoid requirement for VE. Anyway, with MF alone it seems to work fine.
@DLynch I'm not sure 100% sure, but T185729 (I2275b011d2b3c03462e3c1711d3135ce672596e8) looks a little suspect
Change 437271 had a related patch set uploaded (by DLynch; owner: DLynch):
[mediawiki/skins/MinervaNeue@master] Fix action!=edit opening the editor
Change 437271 merged by jenkins-bot:
[mediawiki/skins/MinervaNeue@master] Fix action!=edit opening the editor
Fixed on beta cluster. However, I see that for action=edit the same things happen. Is this an intended behaviour? If the user goes to an "action=edit" link, wouldn't he expect to be editing the whole page instead of the first section?
@Daimona: I'm not opposed here, but the MobileFrontend currently only does section-editing. The mimic'd behavior here is as-if you had visited the page and then clicked the edit button at the very top of the page. (I think this is quite confusing even without this action=edit behavior, naturally.)
"action=edit" allowed to edit a complete page. Why now not? It's a huge limit for the MobileFrontend.
This issue is fixed. Any requests about changing the behaviour of MobileFrontend's handling of section editing should go in a different task.
@Deskana i agree with this. This used to be the case yo make the editor resilient to js errors/power editors but the change from @DLynch seems to have disabled it. Conmit message says "Make ?veaction=edit/editsource and ?action=edit trigger the appropriate mobile
editing mode." Could you explain the reasoning behind this change? I often use the fallback for certain power editor task. The mobile editor and fallback editor should not be interchangeable in the same way as visual editor is
.
Change 453181 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[mediawiki/skins/MinervaNeue@master] Drop issues on editor
Change 453181 merged by jenkins-bot:
[mediawiki/skins/MinervaNeue@master] Drop issues on editor