r97717 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r97716‎ | r97717 | r97718 >
Date:11:50, 21 September 2011
Author:siebrand
Status:ok
Tags:
Comment:
Follow-up r84248: revert initialising an unused variable to initialising a used variable.
Modified paths:
  • /trunk/extensions/Babel/Babel.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Babel/Babel.class.php
@@ -28,7 +28,7 @@
2929 $parser->getOutput()->addModuleStyles( 'ext.babel' );
3030
3131 $content = '';
32 - $templateParameter[0] = '' ; // collects name=value parameters to be passed to wiki templates.
 32+ $templateParameters = array(); // collects name=value parameters to be passed to wiki templates.
3333 foreach ( $parameters as $name ) {
3434 if (strpos($name, '=') !== false) {
3535 $templateParameters[] = $name;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r84248Minor enhancements and fixes following up r84229, r84078, 84027, 84015.purodha14:17, 18 March 2011

Status & tagging log