Page MenuHomePhabricator

Preference "Do not show page content below diffs" stopped working on 5 Feb 2024
Closed, ResolvedPublicBUG REPORT

Description

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

What happens?:

  • Observe that the full rendered page does not display below the diff.
  • The text "&title=Wikipedia%253AVillage_pump_(technical)&diffonly=1" is appended after the URL in the browser's address bar

What should have happened instead?:

  • The full rendered page should display below the diff.
  • The URL should not have the extra text appended.

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):
This just started happening on en.WP less than one hour ago.

Event Timeline

matmarex triaged this task as Unbreak Now! priority.Feb 5 2024, 10:26 PM
matmarex subscribed.

May be caused by some change in today's backport window: https://wikitech.wikimedia.org/wiki/Deployments#deploycal-item-20240205T2100

Change 997598 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/extensions/MobileFrontend@master] MobileFrontend hook should not apply outside mobile view

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

We enabled a change to give desktop diff view to mobile users (logged in only). It seems like enabling this feature flag invoked a hook in MobileFrontend on all skins when it should be limited to mobile.

Change 997281 had a related patch set uploaded (by Zabe; author: Jdlrobson):

[mediawiki/extensions/MobileFrontend@wmf/1.42.0-wmf.16] MobileFrontend hook should not apply outside mobile view

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

Change 997598 merged by jenkins-bot:

[mediawiki/extensions/MobileFrontend@master] MobileFrontend hook should not apply outside mobile view

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

Change 997281 merged by jenkins-bot:

[mediawiki/extensions/MobileFrontend@wmf/1.42.0-wmf.16] MobileFrontend hook should not apply outside mobile view

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

Mentioned in SAL (#wikimedia-operations) [2024-02-05T23:03:06Z] <zabe@deploy2002> Started scap: Backport for [[gerrit:997281|MobileFrontend hook should not apply outside mobile view (T356711)]]

Mentioned in SAL (#wikimedia-operations) [2024-02-05T23:04:29Z] <zabe@deploy2002> zabe: Backport for [[gerrit:997281|MobileFrontend hook should not apply outside mobile view (T356711)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Although it is probably superfluous, I add that the same issue happens not only on English Wikipedia, but also on Wikidata, Italian Wikipedia and probably other wikis.

Mentioned in SAL (#wikimedia-operations) [2024-02-05T23:12:25Z] <zabe@deploy2002> Finished scap: Backport for [[gerrit:997281|MobileFrontend hook should not apply outside mobile view (T356711)]] (duration: 09m 18s)

Zabe assigned this task to Jdlrobson.