Index: trunk/phase3/maintenance/language/checkExtensions.php |
— | — | @@ -10,7 +10,7 @@ |
11 | 11 | require_once( 'languages.inc' ); |
12 | 12 | require_once( 'checkLanguage.inc' ); |
13 | 13 | |
14 | | -if( !class_exists( 'MessageGroups' ) ) { |
| 14 | +if( !class_exists( 'MessageGroups' ) || !class_exists( 'PremadeMediawikiExtensionGroups' ) ) { |
15 | 15 | echo <<<END |
16 | 16 | Please add the Translate extension to LocalSettings.php, and enable the extension groups: |
17 | 17 | require_once( 'extensions/Translate/Translate.php' ); |
Index: trunk/phase3/maintenance/language/checkLanguage.inc |
— | — | @@ -353,6 +353,8 @@ |
354 | 354 | $this->checks[] = 'duplicate'; |
355 | 355 | } |
356 | 356 | |
| 357 | + $extensions = new PremadeMediawikiExtensionGroups(); |
| 358 | + $extensions->addAll(); |
357 | 359 | if( $extension == 'all' ) { |
358 | 360 | $this->extensions = array(); |
359 | 361 | foreach( MessageGroups::singleton()->getGroups() as $group ) { |