From: jenkins-bot Date: Fri, 29 Mar 2019 00:11:32 +0000 (+0000) Subject: Merge "Compare selected revisions on history page is marked with a class" X-Git-Tag: 1.34.0-rc.0~2259 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=031b1fca77b79c729c156cda89e37ab2007861e4;hp=9f0b2f35c3aecea9ec687dd77c1f12fb679052b1;p=lhc%2Fweb%2Fwiklou.git Merge "Compare selected revisions on history page is marked with a class" --- diff --git a/includes/actions/pagers/HistoryPager.php b/includes/actions/pagers/HistoryPager.php index 2fc1a5b8db..c2fcc877dd 100644 --- a/includes/actions/pagers/HistoryPager.php +++ b/includes/actions/pagers/HistoryPager.php @@ -185,7 +185,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' );