Merge "Add class in diff and history links in ChangesList"

This commit is contained in:
jenkins-bot 2017-02-23 21:31:31 +00:00 committed by Gerrit Code Review
commit 32ed9feb39

View file

@ -403,7 +403,7 @@ class ChangesList extends ContextSource {
$diffLink = $this->linkRenderer->makeKnownLink(
$rc->getTitle(),
new HtmlArmor( $this->message['diff'] ),
[],
[ 'class' => 'mw-changeslist-diff' ],
$query
);
}
@ -415,7 +415,7 @@ class ChangesList extends ContextSource {
$diffhist .= $this->linkRenderer->makeKnownLink(
$rc->getTitle(),
new HtmlArmor( $this->message['hist'] ),
[],
[ 'class' => 'mw-changeslist-history' ],
[
'curid' => $rc->mAttribs['rc_cur_id'],
'action' => 'history'