Page MenuHomePhabricator

Regression: Non-existent articles appear blank on mobile EN wikipedia
Closed, ResolvedPublic2 Estimated Story Points

Description

When visiting an article that doesn't exist on the Mobile Frontend of the English Wikipedia, instead of seeing the helpful information like typo corrections and links to sister Wikimedia projects that are displayed on the desktop Wikipedia, visitors are instead greeted with a blank page:

Screenshot_20180119-170904.png (1×1 px, 223 KB)

Instead, the helpful information is buried in the Page Issues drop-down:

Screenshot_20180119-171224.png (1×1 px, 156 KB)

I'm not able to reproduce this issue on other wikis. I tried the Spanish Wikipedia, English Wiktionary, and Wikimedia Commons and all showed the article not found text as expected.

Acceptance criteria

  • Do not run resources/skins.minerva.scripts/cleanuptemplates.js on a non-existent page

Developer replication instructions

The page issues code is being over-zealous.

Edit MediaWiki:Noarticletext with the following

{|class="fmbox"
!
! Page do not exist yo!
|}

Make sure $wgMFContentProviderClass is disabled and visit a non-existent link page

How to test

Event Timeline

Jdlrobson renamed this task from Non-existent articles appear blank on mobile EN wikipedia to Regression: Non-existent articles appear blank on mobile EN wikipedia.Jan 22 2018, 11:20 PM
Jdlrobson edited projects, added MinervaNeue, Regression; removed MobileFrontend.

Server side render is fine. The fix is to prevent all this content from appearing under page issues.

https://en.m.wikipedia.org/wiki/Barack_Obama222

Jdlrobson set the point value for this task to 2.Jan 30 2018, 5:35 PM
Jdlrobson moved this task from Incoming to Triaged but Future on the Web-Team-Backlog-Archived board.

Change 409097 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[mediawiki/skins/MinervaNeue@master] Pages that do not exist cannot have issues

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

Change 409097 merged by jenkins-bot:
[mediawiki/skins/MinervaNeue@master] Pages that do not exist cannot have issues

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