r76082 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76081‎ | r76082 | r76083 >
Date:12:02, 5 November 2010
Author:nikerabbit
Status:ok
Tags:
Comment:
Fix wrong check name, which caused check exceptions to be ignored
Modified paths:
  • /trunk/extensions/Translate/MessageChecks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/MessageChecks.php
@@ -336,7 +336,7 @@
337337
338338 if ( count( $params ) ) {
339339 $warnings[$key][] = array(
340 - array( 'printf', $subcheck, $key, $code ),
 340+ array( 'variable', $subcheck, $key, $code ),
341341 'translate-checks-parameters',
342342 array( 'PARAMS', $params ),
343343 array( 'COUNT', count( $params ) ),
@@ -349,7 +349,7 @@
350350
351351 if ( count( $params ) ) {
352352 $warnings[$key][] = array(
353 - array( 'printf', $subcheck, $key, $code ),
 353+ array( 'variable', $subcheck, $key, $code ),
354354 'translate-checks-parameters-unknown',
355355 array( 'PARAMS', $params ),
356356 array( 'COUNT', count( $params ) ),

Status & tagging log