It should be possible now to render the Contributions in core inside Minerva in such a way that they are mostly consistent with the current rendering of these pages in mobile.
We will make minor HTML changes to the core history and contributions pages in such as way that they can be styled on mobile in non-AMC mode to look like Special:MobileContributions and Special:MobileHistory
This will remove a hefty chunk of technical debt and set us up nicely for improving the UI in AMC mode.
This is a precursor to removing the Special:MobileContributions inside MobileFrontend which will address many bugs.
= Noted Visual differences:
* Dates will be repeated, even if they are identical (solveable with JS if needed )We currently use the desktop HTML for the mobile version of the contributions page.
* The link at the top of the history page linking back to the article will become a tagline rather than a standalone heading
* User icons would not be displayed (solveable)We should consider updating the Minerva contributions page with some of the good ideas in the previous design. These are:
= To do
There is a problem on Special:Contributions with the invisible ‎ code. It pushes the title down further than it should. I will create a bug, but a [[ https://gerrit.wikimedia.org/r/499326 | patch exists with some discussion ]].
Talk to Alex about the header behaviour:
```[] Group by date
var last;[] Show bytes and time to the left for better visual scanning
$('.mw-changeslist-date-date').each(function(i,a ) {[] Larger touch areas for links
var cur = $(a).text();
if (cur === last) {
$(a).css('visibility', 'hidden');
$(a).parents('li').css( 'margin-top','-30px');
}
last = $(a).text();
} );
```[] Display of user icon for better recognition about what the page is about.
# Screenshots
|Page|Existing anon pagePrevious design|Existing AMC page/new version|g design|
|Contributions|{F34796246}|{F34796249}
|History|{F34796251}|{F34796255}
# DEVELOPER NOTES
Styling should occur via a **skinStyle** defined on the **mediawiki.pager.styles **module.
There is a problem on Special:Contributions with the invisible ‎ code. It pushes the title down further than it should. I will create a bug, but a [[ https://gerrit.wikimedia.org/r/499326 | patch exists with some discussion ]].