r56265 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56264‎ | r56265 | r56266 >
Date:14:13, 13 September 2009
Author:demon
Status:ok
Tags:
Comment:
(bug 20624) Installation allows to select "language" qqq for the Wiki
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/config/Installer.php (modified) (history)

Diff [purge]

Index: trunk/phase3/config/Installer.php
@@ -2092,6 +2092,7 @@
20932093 $m = array();
20942094 if( preg_match( '/Messages([A-Z][a-z_]+)\.php$/', $f, $m ) ) {
20952095 $code = str_replace( '_', '-', strtolower( $m[1] ) );
 2096+ if( $code == 'qqq' ) continue;
20962097 if( isset( $wgLanguageNames[$code] ) ) {
20972098 $name = wfBCP47( $code ) . ' - ' . $wgLanguageNames[$code];
20982099 } else {
Index: trunk/phase3/RELEASE-NOTES
@@ -495,6 +495,7 @@
496496 correct type="text" parameter
497497 * (bug 482) Don't include TOC in the printable version if it has been hidden
498498 * Adjust the time according to the user configuration on Special:Revisiondelete
 499+* (bug 20624) Installation no longer allows "qqq" as the chosen language
499500
500501 == API changes in 1.16 ==
501502

Status & tagging log