Page MenuHomePhabricator

[Epic] Improve special pages
Open, MediumPublic

Description

Problem

Existing Special pages on mobilefrontend do not account for most of use cases of special pages.

Use cases include

  1. sub sections / tabs
  2. navigation
  3. metadata
  4. page actions

The alignment of the pages is also varied.

List of prominent special pages

  • Talk page
  • Userpage
  • Nearby
  • Edit History
  • Watchlist
  • Categories

Proposal

  1. Have a consistent template which includes following elements laid out in correct hierarchy
  • Navigation (going back)
  • Prominent title and purpose of the page
  • Metadata subtext line
  • Sub sections / tabs

Page structure

All of the above bullet points as optional for each special page. except for the title and the subtitle

Here are few examples of special pages wth the new structure

Nearby


*reminder that we removed the "refresh" icon from this page (T189258) and should consider adding it back in as part of this work.

Watchlist

NOTE: the two Watchlist views are actually two sections and can use the same treatment. Tabs are tabs.

User page

History

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 28 2017, 11:15 PM
Nirzar renamed this task from [Epic] Upgrade special page template to [Epic] Improve special page template.Jun 28 2017, 11:15 PM
Nirzar updated the task description. (Show Details)
Jdlrobson triaged this task as Medium priority.Jun 29 2017, 6:13 PM
Jdlrobson moved this task from Incoming to Epics/Goals on the Readers-Web-Backlog board.

The description doesn't explain how this goes towards T158181: Aim for workflow equivalence for MediaWiki on desktop and mobile web. Besides, nearly all the "prominent special pages" listed are not even special pages in MediaWiki proper.

Jdlrobson updated the task description. (Show Details)Dec 4 2017, 7:25 PM
NOTE: This doesn't account for the two "views" of the Watchlist. Please update screenshot/provide a mock.

@Nirzar ^^^

NOTE: This doesn't account for the two "views" of the Watchlist. Please update screenshot/provide a mock.

the two views are actually two sections, it can use the same treatment, tabs are tabs :)

Niedzielski updated the task description. (Show Details)Jan 3 2018, 4:02 PM
Jdlrobson renamed this task from [Epic] Improve special page template to [Epic] Improve special pages.Jan 31 2018, 7:16 PM
alexhollender updated the task description. (Show Details)Apr 2 2018, 1:45 PM

As already alluded to above, the term "special page" has an existing, well-defined meaning in MediaWiki. It seems that it is used here in a different, wider sense (e.g. talk pages are not usually considered special pages).

@Jdlrobson I think the need is still relevant though I don't know when we'll get around to it. I think we'd benefit from having a template for non-article pages.