Page MenuHomePhabricator

Add time element to Pager rows
Closed, ResolvedPublic

Description

In Minerva, IndexPager pages e.g. Special:Contributions and the history page show simplified rows which when clicked take you to the diff page

Screen Shot 2022-01-05 at 9.12.45 AM.png (1×2 px, 219 KB)

To support skinning the page in this way we need an adjustment to the HTML to add the time (without the date).

Acceptance criteria

  • A new time element is added to the page's HTML
  • In Vector no visual change should occur. The new element will be hidden by default via a skinStyle defined on the mediawiki.pager.styles module.

QA

-Using developer tools inspect the DOM and confirm there is a hidden time element

Pass:

Screen Shot 2022-01-10 at 5.50.10 PM.png (110×750 px, 26 KB)

Event Timeline

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

[mediawiki/core@master] [ChangesList] Add time to each row

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

Jdlrobson triaged this task as Medium priority.Jan 7 2022, 4:38 PM

Change 751774 merged by jenkins-bot:

[mediawiki/core@master] ChangesList: Add .mw-changeslist-time (no date) to output to each row

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