Page MenuHomePhabricator

[EPIC] Remove mobile history page
Closed, ResolvedPublic

Description

Every page view to the history page on mobile leads to a redirect. The mobile history page is provided by SpecialMobileHistory which is 336 lines of code.

The two designs are very closely aligned as demonstrated in the screenshot below. The existing mobile design could easily be realized with a CSS only solution.

The existing code has required security patches.

Screen Shot 2022-03-30 at 3.31.10 PM.png (1×2 px, 195 KB)
Screen Shot 2022-03-30 at 3.31.34 PM.png (1×2 px, 179 KB)

TODO

  • Add CSS to the desktop page to style identically to the existing mobile.
  • Switch all sites to use desktop HTML
  • Remove includes/specials/SpecialMobileHistory.php
  • Remove redirect logic

Event Timeline

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

[mediawiki/core@master] HistoryPager: Mark current and previous links

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

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

[mediawiki/skins/MinervaNeue@master] WIP: Style the desktop diff and history page of Minerva to look like mobile pages

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

Change 966309 merged by jenkins-bot:

[mediawiki/core@master] HistoryPager: Mark current and previous links

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

Change 962095 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] Style the desktop diff and history page of Minerva to look like mobile pages

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

Jdlrobson updated the task description. (Show Details)