r27305 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r27304‎ | r27305 | r27306 >
Date:20:40, 7 November 2007
Author:nikerabbit
Status:old
Tags:
Comment:
* More suppression guesswork
* Don't list languages that don't have problems
Modified paths:
  • /trunk/phase3/maintenance/language/checkLanguage.inc (modified) (history)
  • /trunk/phase3/maintenance/language/checkLanguage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/language/checkLanguage.inc
@@ -11,4 +11,5 @@
1212 'zh-classical' => array( 'plural' ),
1313 'zh-hans' => array( 'plural' ),
1414 'zh-hant' => array( 'plural' ),
 15+'gan' => array( 'plural' ),
1516 );
Index: trunk/phase3/maintenance/language/checkLanguage.php
@@ -290,6 +290,7 @@
291291 $detailText .= $detailTextForLang . implode( "\n", $detailTextForLangChecks ) . "\n";
292292 }
293293
 294+ if ( !$problems ) { continue; } // Don't list languages without problems
294295 $language = $wgContLang->getLanguageName( $code );
295296 $rows[] = "| $language || $code || $problems || " . implode( ' || ', $numbers );
296297 }

Status & tagging log