Index: trunk/extensions/Translate/scripts/groupStatistics.php |
— | — | @@ -124,8 +124,8 @@ |
125 | 125 | --speakers : add column for number of speakers (est.). Only valid when |
126 | 126 | combined with --most. |
127 | 127 | --nol10n : do not add localised language name if I18ntags is installed. |
128 | | - --continent : add a continent column. Only available when output is not |
129 | | - set or is 'wiki'. |
| 128 | + --continent : add a continent column. Only available when output is |
| 129 | + 'wiki'. |
130 | 130 | |
131 | 131 | END; |
132 | 132 | STDERR( $msg ); |
— | — | @@ -297,16 +297,16 @@ |
298 | 298 | $out->element( $code ); |
299 | 299 | |
300 | 300 | // Fill language name field |
301 | | - if( ( !isset( $options['output'] ) || $options['output'] == 'wiki' ) && |
302 | | - !isset( $options['nol10n'] ) && function_exists( 'efI18nTagsInit' ) ) { |
| 301 | + if( ( $options['output'] == 'wiki' && |
| 302 | + !isset( $options['nol10n'] ) && |
| 303 | + function_exists( 'efI18nTagsInit' ) ) { |
303 | 304 | $out->element( "{{#languagename:" . $code . "}}" ); |
304 | 305 | } else { |
305 | 306 | $out->element( $name ); |
306 | 307 | } |
307 | 308 | |
308 | 309 | // Fill continent field |
309 | | - if( ( !isset( $options['output'] ) || $options['output'] == 'wiki' ) && |
310 | | - isset( $options['output'] ) ) { |
| 310 | + if( $options['output'] == 'wiki' && isset( $options['output'] ) ) { |
311 | 311 | if( $mostSpokenLanguages[$code][4] == 'multiple' ) { |
312 | 312 | $continent = ''; |
313 | 313 | } else { |