http://www.mediawiki.org/wiki/Special:Code/MediaWiki/56265
Revision: 56265
Author: demon
Date: 2009-09-13 14:13:36 +0000 (Sun, 13 Sep 2009)
Log Message:
-----------
(bug 20624) Installation allows to select "language" qqq for the Wiki
Modified Paths:
--------------
trunk/phase3/RELEASE-NOTES
trunk/phase3/config/Installer.php
Modified: trunk/phase3/RELEASE-NOTES
===================================================================
--- trunk/phase3/RELEASE-NOTES 2009-09-13 13:57:35 UTC (rev 56264)
+++ trunk/phase3/RELEASE-NOTES 2009-09-13 14:13:36 UTC (rev 56265)
@@ -495,6 +495,7 @@
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 ==
Modified: trunk/phase3/config/Installer.php
===================================================================
--- trunk/phase3/config/Installer.php 2009-09-13 13:57:35 UTC (rev 56264)
+++ trunk/phase3/config/Installer.php 2009-09-13 14:13:36 UTC (rev 56265)
@@ -2092,6 +2092,7 @@
$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 {
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs