Index: trunk/phase3/config/Installer.php |
— | — | @@ -2125,6 +2125,9 @@ |
2126 | 2126 | |
2127 | 2127 | $codes = array(); |
2128 | 2128 | |
| 2129 | + // qqq is a dummy "language" for documenting messages, other language codes are legacy/fallback. |
| 2130 | + $blacklist = array( 'qqq', 'als', 'be-x-old', 'dk', 'fiu-vro', 'iu', 'nb', 'simple', 'tp' ); |
| 2131 | + |
2129 | 2132 | $d = opendir( "../languages/messages" ); |
2130 | 2133 | /* In case we are called from the root directory */ |
2131 | 2134 | if (!$d) |
— | — | @@ -2133,7 +2136,7 @@ |
2134 | 2137 | $m = array(); |
2135 | 2138 | if( preg_match( '/Messages([A-Z][a-z_]+)\.php$/', $f, $m ) ) { |
2136 | 2139 | $code = str_replace( '_', '-', strtolower( $m[1] ) ); |
2137 | | - if( $code == 'qqq' ) continue; |
| 2140 | + if( in_array( $code, $blacklist ) ) continue; |
2138 | 2141 | if( isset( $wgLanguageNames[$code] ) ) { |
2139 | 2142 | $name = wfBCP47( $code ) . ' - ' . $wgLanguageNames[$code]; |
2140 | 2143 | } else { |