r107424 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107423‎ | r107424 | r107425 >
Date:21:16, 27 December 2011
Author:ialex
Status:ok
Tags:
Comment:
Per Reedy, fix for r107386: fix usage of undefined variable
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -1337,7 +1337,7 @@
13381338 '</strong>'
13391339 );
13401340
1341 - if ( $bigHistory ) {
 1341+ if ( $this->mTitle->isBigDeletion() ) {
13421342 global $wgDeleteRevisionsLimit;
13431343 $wgOut->wrapWikiMsg( "<div class='error'>\n$1\n</div>\n",
13441344 array( 'delete-warning-toobig', $wgLang->formatNum( $wgDeleteRevisionsLimit ) ) );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r107386* Integrate $wgDeleteRevisionsLimit in Title::getUserPermissionsErrors() (onl...ialex15:29, 27 December 2011

Status & tagging log