Page MenuHomePhabricator

There is no way out of permalink in mobile version
Closed, DuplicatePublicBUG REPORT

Description

When a permalink or a diff to the current revision of a page is displayed (e.g. by navigating to an edit from watchlist, then clicking the page title), there is no way to switch to a plain page view in the mobile version. (In desktop version, clicking the Read or Article tab leads to the plain article view.)

Steps to Reproduce:

  1. Go to the mobile version of your watchlist. https://en.m.wikipedia.org/wiki/Special:Watchlist
  2. Click on a change, leading to the mobile diff view, e.g. https://en.m.wikipedia.org/wiki/Special:MobileDiff/831609486
  3. Try to view the changed page normally.

Actual Results:

  1. Clicking on the page title on the diff page leads to a permalink page (including the revision-nav header box), e.g. https://en.m.wikipedia.org/w/index.php?title=Obscure_garden_eel&oldid=831609486
  2. When the permalink leads to the current version of the page, the Latest revision item in the nav header is not linked, and there is no link to the current non-permalinked version on the page at all.
  3. The only way to get to the standard view of the page (except editing the URL) is to click on ← Previous revision and then click on Latest revision, now linked.

Expected Results:
There needs to be a way out. The page title on the diff page might lead to a normal page view, but the permalink seems to be useful there, serving its purpose. On the other hand, the conditional linking of the Latest revision item in the nav header box seems to be basically just eye candy. I don’t see any reason why linking to the non-permalinked current version always would cause any problem. (OK, this behavior is shared with the desktop version and even though the desktop version has its way out, I don’t see it why it would be necessary not to link.)

Event Timeline

Change 495926 had a related patch set uploaded (by Mormegil; owner: Mormegil):
[mediawiki/core@master] Always link to the current version from permalink header

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

Jdlrobson added a subscriber: Jdlrobson.

This has been reported in different forms in T200804 and T200969 from what I can see. Please let me know if I'm mistaken.

D’oh! I was wondering if I am the only one bothered by the current behavior, as I was unable to find any issue. So after a long time, I decided to offer a patch. But the bug has been there for half a year?!? No idea how I was able not to find it. Sorry for the duplicate and thanks for the merge.

No need to apologise. Thank you for the patch and for reporting. Duplicates are good they help make it clear that lots of people are suffering from the same problem and help us bump priority! Clearly this is in need of a solution.

Change 495926 abandoned by Mormegil:
Always link to the current version from permalink header

Reason:
obsoleted by changes in the mobile UI

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