r67550 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r67549‎ | r67550 | r67551 >
Date:18:40, 7 June 2010
Author:reedy
Status:ok (Comments)
Tags:
Comment:
Return '' on RevisionDeleter.getLogLinks() if count($paramArray) < 2
Modified paths:
  • /trunk/phase3/includes/RevisionDelete.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/RevisionDelete.php
@@ -258,10 +258,10 @@
259259 }
260260
261261 // Pipe links
262 - $revert = wfMsg( 'parentheses', $wgLang->pipeList( $revert ) );
 262+ return wfMsg( 'parentheses', $wgLang->pipeList( $revert ) );
263263 }
264 - return $revert;
265 - }
 264+ return '';
 265+ }
266266 }
267267
268268 /**

Comments

#Comment by Reedy (talk | contribs)   18:41, 7 June 2010

-rakkaus/#mediawiki-i18n- [07-Jun-2010 18:19:27] PHP Notice: Undefined variable: revert in /www/w/includes/RevisionDelete.php on line 263 <siebrand> blegh

Status & tagging log