It should be possible now to render the Contributions and History pages 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 SpecialMobileHistory and 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 )
* 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)
= 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:
```
var last;
$('.mw-changeslist-date-date').each(function(i,a ) {
var cur = $(a).text();
if (cur === last) {
$(a).css('visibility', 'hidden');
$(a).parents('li').css( 'margin-top','-30px');
}
last = $(a).text();
} );
```
# Screenshots
|Page|Existing anon page|Existing AMC page/new version|
|Contributions|{F34796246}|{F34796249}
|History|{F34796251}|{F34796255}
# DEVELOPER NOTES
Styling should occur via a **skinStyle** defined on the **mediawiki.pager.styles **module.