r111913 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111912‎ | r111913 | r111914 >
Date:07:45, 20 February 2012
Author:siebrand
Status:ok
Tags:
Comment:
Fix Undefined variable: potmode in Gettext.php on line 224
Modified paths:
  • /trunk/extensions/Translate/ffs/Gettext.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/ffs/Gettext.php
@@ -118,6 +118,7 @@
119119 $useCtxtAsKey,
120120 $pluralCount,
121121 $mangler,
 122+ $potmode,
122123 $messages,
123124 $template,
124125 $metadata,
@@ -133,7 +134,7 @@
134135 );
135136 }
136137
137 - public static function parseGettextSection( $section, $useCtxtAsKey, $pluralCount, $mangler, &$messages, &$template, &$metadata, &$headers ) {
 138+ public static function parseGettextSection( $section, $useCtxtAsKey, $pluralCount, $mangler, $potmode, &$messages, &$template, &$metadata, &$headers ) {
138139 if ( trim( $section ) === '' ) {
139140 return false;
140141 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r111867* Some refactoring for parseGettextData()...siebrand15:27, 19 February 2012

Status & tagging log