From 8fb2ac1b283287c6a26dc74fcdfd18eaa5509b30 Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Thu, 28 Mar 2019 15:04:24 -0700 Subject: [PATCH] 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 --- includes/actions/pagers/HistoryPager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ); -- 2.20.1