(bug 20624) Installation allows to select "language" qqq for the Wiki
authorChad Horohoe <demon@users.mediawiki.org>
Sun, 13 Sep 2009 14:13:36 +0000 (14:13 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Sun, 13 Sep 2009 14:13:36 +0000 (14:13 +0000)
RELEASE-NOTES
config/Installer.php

index 69df20e..fa013eb 100644 (file)
@@ -495,6 +495,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   correct type="text" parameter
 * (bug 482) Don't include TOC in the printable version if it has been hidden
 * Adjust the time according to the user configuration on Special:Revisiondelete
+* (bug 20624) Installation no longer allows "qqq" as the chosen language
 
 == API changes in 1.16 ==
 
index 4c05c69..8689b98 100644 (file)
@@ -2092,6 +2092,7 @@ function getLanguageList() {
                $m = array();
                if( preg_match( '/Messages([A-Z][a-z_]+)\.php$/', $f, $m ) ) {
                        $code = str_replace( '_', '-', strtolower( $m[1] ) );
+                       if( $code == 'qqq' ) continue;
                        if( isset( $wgLanguageNames[$code] ) ) {
                                $name = wfBCP47( $code ) . ' - ' . $wgLanguageNames[$code];
                        } else {