From: Raimond Spekking Date: Mon, 24 Aug 2009 14:30:32 +0000 (+0000) Subject: * Wrap legend of historyPage into a div with class 'mw-history-legend' X-Git-Tag: 1.31.0-rc.0~40078 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=0d831e12c753cf01354554f3e9765884a5515e16;p=lhc%2Fweb%2Fwiklou.git * Wrap legend of historyPage into a div with class 'mw-history-legend' * Move legend above pager. It looks more consistent/logical --- diff --git a/includes/HistoryPage.php b/includes/HistoryPage.php index c8f3595ebd..5cd0b0d799 100644 --- a/includes/HistoryPage.php +++ b/includes/HistoryPage.php @@ -317,12 +317,13 @@ class HistoryPager extends ReverseChronologicalPager { * @return string HTML output */ function getStartBody() { - global $wgScript, $wgEnableHtmlDiff, $wgUser; + global $wgScript, $wgEnableHtmlDiff, $wgUser, $wgOut; $this->lastRow = false; $this->counter = 1; $this->oldIdChecked = 0; - $s = wfMsgExt( 'histlegend', array( 'parse') ); + $wgOut->wrapWikiMsg( "
\n$1
", 'histlegend' ); + $s = ''; if( $this->getNumRows() > 1 && $wgUser->isAllowed('deleterevision') ) { $revdel = SpecialPage::getTitleFor( 'Revisiondelete' ); $s .= Xml::openElement( 'form',