Use pseudo elements to style changelist-separators on Contributions
authorjdlrobson <jdlrobson@gmail.com>
Tue, 18 Sep 2018 21:11:08 +0000 (14:11 -0700)
committerjdlrobson <jdlrobson@gmail.com>
Mon, 1 Oct 2018 23:29:46 +0000 (16:29 -0700)
commitfd993dd4bc05caf4a440f6734a10404aae292157
tree98a822e20a19a594e80285604e1041d44db23fae
parent2b5d9339f4eaa806918659756a4121fcff6ed2e6
Use pseudo elements to style changelist-separators on Contributions

Currently, these separators are unnecessarily hardcoded in HTML.
This is problematic, as it limits the extent to which skins such
as Minerva and Timeless can skin these pages.

If the pseudo selector is not available (e.g. legacy browsers)
this degrades nicely to whitespace and the page is still useable.

Right now, these changes are scoped to pages uses the ContribsPager
(used by Special:Contributions)
but we can adopt them in other pages once we have this approach set in
stone (CSS)

Bug: T205581
Change-Id: Ia2c485e6058ebf4282ed2f7eb7b046b2deb03f57
includes/specials/pagers/ContribsPager.php
resources/src/mediawiki.special.changeslist.css