In Minerva, IndexPager pages e.g. Special:Contributions and the history page show simplified rows which are organized via date:
To support skinning the page in this way we need to add this header to the HTML.
Acceptance criteria
- Group by headings. A heading should appear every time a new day appears.
- In Vector no visual change should occur. The new elements will be hidden by default via a skinStyle defined on the mediawiki.pager.styles module.
QA
- On desktop / mobile, I shouldn't see any visual changes between production and beta cluster for the pages listed below.
- If I edit my user CSS e.g. User:<your username>/common.css .mw-index-pager-list-header { display: block; } all edits on the Special:Contributions, Special:MergeHistory and history page should be separated by date.
Impacted pages:
Test the following impacted pages on both mobile and desktop
- https://en.wikipedia.beta.wmflabs.org/wiki/Special:NewFiles
- https://en.wikipedia.beta.wmflabs.org/wiki/Special:DeletedContributions
- https://en.wikipedia.beta.wmflabs.org/wiki/Special:Contributions
- https://en.wikipedia.beta.wmflabs.org/wiki/Special:NewPages
- https://en.wikipedia.beta.wmflabs.org/wiki/Special:MergeHistory
- https://en.wikipedia.beta.wmflabs.org/wiki/Special:Log
- https://en.wikipedia.beta.wmflabs.org/wiki/Spain?action=history
User notice
This makes several changes to HTML
It will impact gadgets that
- use ul#pagehistory (now section#pagehistory) (196 gadgets)
Contributions page
Before:
- #mw-content-text
- …
- ul.mw-contributions-list
- li
- li
- …
After:
- #mw-content-text
- …
- h4.mw-index-pager-list-header-first.mw-index-pager-list-header
- ul.mw-contributions-list
- li
- h4.mw-index-pager-list-header
- ul.mw-contributions-list
- li
- …
History page
Before:
- #mw-content-text
- …
- ul#pagehistory
- li
- li
- …
After:
- #mw-content-text
- …
- section#pagehistory
- h4.mw-index-pager-list-header-first.mw-index-pager-list-header
- ul.mw-contributions-list
- li
- h4.mw-index-pager-list-header
- ul.mw-contributions-list
- li
- …
QA Results - Beta
AC | Status | Details |
---|---|---|
1 | ❓ | T298638#7732851 |
2 | ❓ | T298638#7736860 |