From: Chad Horohoe Date: Sun, 13 Sep 2009 14:13:36 +0000 (+0000) Subject: (bug 20624) Installation allows to select "language" qqq for the Wiki X-Git-Tag: 1.31.0-rc.0~39757 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/fiche.php?a=commitdiff_plain;h=211f42db756e2aa18eeec2ce055db5e7374ec423;p=lhc%2Fweb%2Fwiklou.git (bug 20624) Installation allows to select "language" qqq for the Wiki --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 69df20e874..fa013eb7b0 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 == diff --git a/config/Installer.php b/config/Installer.php index 4c05c699bd..8689b986bc 100644 --- a/config/Installer.php +++ b/config/Installer.php @@ -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 {