Index: trunk/extensions/Translate/scripts/groupStatistics.php |
— | — | @@ -191,7 +191,9 @@ |
192 | 192 | } |
193 | 193 | $out->element( 'Code', true ); |
194 | 194 | $out->element( 'Language', true ); |
195 | | -$out->element( 'Continent', true ); |
| 195 | +if( $options['output'] == 'wiki' && isset( $options['continent'] ) ) { |
| 196 | + $out->element( 'Continent', true ); |
| 197 | +} |
196 | 198 | |
197 | 199 | if( isset( $options['most'] ) && isset( $options['speakers'] ) ) { |
198 | 200 | $out->element( 'Speakers', true ); |
— | — | @@ -306,7 +308,7 @@ |
307 | 309 | } |
308 | 310 | |
309 | 311 | // Fill continent field |
310 | | - if( $options['output'] == 'wiki' && isset( $options['output'] ) ) { |
| 312 | + if( $options['output'] == 'wiki' && isset( $options['continent'] ) ) { |
311 | 313 | if( $mostSpokenLanguages[$code][4] == 'multiple' ) { |
312 | 314 | $continent = ''; |
313 | 315 | } else { |