Add CSS classes for diff/hist links at Enhanced RC
authorEddie Greiner-Petter <git@eddie-sh.de>
Tue, 21 Feb 2017 02:25:39 +0000 (03:25 +0100)
committerEddieGP <wikimedia.org@eddie-sh.de>
Thu, 2 Mar 2017 17:41:31 +0000 (17:41 +0000)
commit6a60a90ffb5b95dc3b5f72ea66eedf0a0e049a23
tree97ee65a2ef92ea2cbc299380471f6b8d63f777bb
parent5a7cfcda8bafbee495cd9f481c92b5c131c015f8
Add CSS classes for diff/hist links at Enhanced RC

CSS classes mw-changeslist-diff and mw-changeslist-history should be
added to diff and history links in recent changes. There is already a
patch for the old recent changes page, this one adds the same classes
onto the enhanced recent changes page (class EnhancedChangesList). As
enhanced RC has a lot more links, this patch introduces two new css
classes for some links, one named  #mw-changeslist-diff-cur which is for
the diff that links to a current version within nested changes and the
other named #mw-changeslist-groupdiff which is for the 'summary diff'
that appears for a group of nested changes.
Follow-up: I2d5ef8c180ae4ff6e7f5d0ab443dc7084f8c4c77

Bug: T157178
Change-Id: Ib51639a92b5925f2bad0aebd4f7068b178f65017
includes/changes/EnhancedChangesList.php
includes/changes/RCCacheEntryFactory.php