From: umherirrender Date: Fri, 22 Aug 2014 19:48:49 +0000 (+0200) Subject: Use getConfig in HistoryAction for global X-Git-Tag: 1.31.0-rc.0~14318^2 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=4922c1b57f7ba98571686383303dcbbadee43b22;p=lhc%2Fweb%2Fwiklou.git Use getConfig in HistoryAction for global Change-Id: I4a3bb4149c3c1da75215e0e6336c89e4a00fc8e4 --- diff --git a/includes/actions/HistoryAction.php b/includes/actions/HistoryAction.php index 66ea2453b8..523da686c4 100644 --- a/includes/actions/HistoryAction.php +++ b/includes/actions/HistoryAction.php @@ -472,7 +472,6 @@ class HistoryPager extends ReverseChronologicalPager { * @return string HTML output */ function getStartBody() { - global $wgUseMediaWikiUIEverywhere; $this->lastRow = false; $this->counter = 1; $this->oldIdChecked = 0; @@ -486,7 +485,7 @@ class HistoryPager extends ReverseChronologicalPager { // Button container stored in $this->buttons for re-use in getEndBody() $this->buttons = '
'; $className = 'historysubmit mw-history-compareselectedversions-button'; - if ( $wgUseMediaWikiUIEverywhere ) { + if ( $this->getConfig()->get( 'UseMediaWikiUIEverywhere' ) ) { $className .= ' mw-ui-button mw-ui-constructive'; } $this->buttons .= $this->submitButton( $this->msg( 'compareselectedversions' )->text(),