From: jdlrobson Date: Thu, 28 Mar 2019 22:04:24 +0000 (-0700) Subject: Compare selected revisions on history page is marked with a class X-Git-Tag: 1.34.0-rc.0~2259^2 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=8fb2ac1b283287c6a26dc74fcdfd18eaa5509b30;p=lhc%2Fweb%2Fwiklou.git Compare selected revisions on history page is marked with a class Help distinguish the controls for comparing revisions from the rest of the content in the history page. Change-Id: Ief8eb8a414c0ff2876f576f296145a94c5636962 --- diff --git a/includes/actions/pagers/HistoryPager.php b/includes/actions/pagers/HistoryPager.php index b3333726a0..9c82d1cb37 100644 --- a/includes/actions/pagers/HistoryPager.php +++ b/includes/actions/pagers/HistoryPager.php @@ -183,7 +183,7 @@ class HistoryPager extends ReverseChronologicalPager { $s .= Html::hidden( 'type', 'revision' ) . "\n"; // Button container stored in $this->buttons for re-use in getEndBody() - $this->buttons = '
'; + $this->buttons = Html::openElement( 'div', [ 'class' => 'mw-history-compareselectedversions' ] ); $className = 'historysubmit mw-history-compareselectedversions-button'; $attrs = [ 'class' => $className ] + Linker::tooltipAndAccesskeyAttribs( 'compareselectedversions' );