From: Amir Sarabadani Date: Sat, 4 Feb 2017 02:35:03 +0000 (+0330) Subject: Add class to diff and history links in Special:Contributions X-Git-Tag: 1.31.0-rc.0~4138^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/journal.php?a=commitdiff_plain;h=764655b2246c38b4ddafae39e1472366c4dc8f74;p=lhc%2Fweb%2Fwiklou.git Add class to diff and history links in Special:Contributions Bug: T157178 Change-Id: I4fb26d55a0b7721e430b497440029c6de254dd8f --- diff --git a/includes/specials/pagers/ContribsPager.php b/includes/specials/pagers/ContribsPager.php index 0c3a21108b..47a2aed380 100644 --- a/includes/specials/pagers/ContribsPager.php +++ b/includes/specials/pagers/ContribsPager.php @@ -402,7 +402,7 @@ class ContribsPager extends ReverseChronologicalPager { $difftext = $linkRenderer->makeKnownLink( $page, new HtmlArmor( $this->messages['diff'] ), - [], + [ 'class' => 'mw-changeslist-diff' ], [ 'diff' => 'prev', 'oldid' => $row->rev_id @@ -414,7 +414,7 @@ class ContribsPager extends ReverseChronologicalPager { $histlink = $linkRenderer->makeKnownLink( $page, new HtmlArmor( $this->messages['hist'] ), - [], + [ 'class' => 'mw-changeslist-history' ], [ 'action' => 'history' ] );