Page MenuHomePhabricator

Clicking on "show preview" in mobile deletes all progress; ends up on unexpected page
Closed, ResolvedPublic

Description

If I click on "preview" while on a URL like this:

https://commons.m.wikimedia.org/w/index.php?title=Commons:Village_pump&editintro=Commons%3AVPnotice&section=new#/editor/new

It deletes everything I've written and redirects me to an inferior editor on the top of the page, however without this link it is not possible to start a new subject in the Village Pump.

Event Timeline

Aklapper changed the task status from Open to Stalled.Jun 1 2018, 11:54 AM

Hi @DonTrung, thanks for taking the time to report this!
Unfortunately this report lacks some information. If you have time and can still reproduce the problem: Please add a more complete description to this report which includes a clear list of specific steps to reproduce the situation (step by step, as a list), as little details matter, information about your web browser(s), the expected outcome, and the actual outcome.
You can edit the task description by clicking Edit Task.
Ideally, exact and clear steps to reproduce should allow any other person to follow these steps (without having to interpret those steps) and see the same results. Problems that others can reliably reproduce can get fixed faster. Thanks!

As an example let's try Commons:De Kroeg, first I go to the desired page:

https://commons.wikimedia.org/wiki/Commons:De_Kroeg

Then I try to start a new subject:

https://commons.wikimedia.org/w/index.php?title=Commons:De_Kroeg&action=edit&section=new

But as my phablet is too small for my old eyes 👀 I switch to mobile:

https://commons.m.wikimedia.org/w/index.php?title=Commons:De_Kroeg&section=new#/editor/new

After typing in a message I will click on "Preview", but somehow end up here:

https://commons.m.wikimedia.org/w/index.php?title=Commons:De_Kroeg#/editor/0

Aklapper renamed this task from Clicking on "preview" deletes all progress (mobile) to Clicking on "show preview" in mobile deletes all progress; ends up on unexpected page.Jun 1 2018, 1:36 PM
Aklapper changed the task status from Stalled to Open.
Vvjjkkii renamed this task from Clicking on "show preview" in mobile deletes all progress; ends up on unexpected page to jubaaaaaaa.Jul 1 2018, 1:06 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from jubaaaaaaa to Clicking on "show preview" in mobile deletes all progress; ends up on unexpected page.Jul 2 2018, 1:50 AM
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.
matmarex claimed this task.
matmarex subscribed.

This seems to be working correctly now. It might have been fixed by rEMFR853e96a88a28: Clean up mobile editor initialization checks, or one of the other patches we've made related to T334263.