Index: trunk/phase3/maintenance/language/checkLanguage.inc |
— | — | @@ -362,6 +362,12 @@ |
363 | 363 | $this->extensions[] = new extensionLanguages( $group ); |
364 | 364 | } |
365 | 365 | } |
| 366 | + } elseif( $extension == 'wikimedia' ) { |
| 367 | + $wikimedia = MessageGroups::getGroup( 'ext-0-wikimedia' ); |
| 368 | + foreach( $wikimedia->wmfextensions() as $extension ) { |
| 369 | + $group = MessageGroups::getGroup( $extension ); |
| 370 | + $this->extensions[] = new extensionLanguages( $group ); |
| 371 | + } |
366 | 372 | } else { |
367 | 373 | $extensions = explode( ',', $extension ); |
368 | 374 | foreach( $extensions as $extension ) { |
— | — | @@ -381,7 +387,7 @@ |
382 | 388 | Run this script to check the status of a specific language in extensions, or all of them. |
383 | 389 | Command line settings are in form --parameter[=value], except for the first one. |
384 | 390 | Parameters: |
385 | | - * First parameter (mandatory): Extension name, multiple extension names (separated by commas) or "all" for all the extensions. |
| 391 | + * First parameter (mandatory): Extension name, multiple extension names (separated by commas), "all" for all the extensions or "wikimedia" for extensions used by Wikimedia. |
386 | 392 | * lang: Language code (default: the installation default language). |
387 | 393 | * help: Show this help. |
388 | 394 | * level: Show the following level (default: 2). |
Index: trunk/extensions/Translate/MessageGroups.php |
— | — | @@ -460,6 +460,10 @@ |
461 | 461 | } |
462 | 462 | } |
463 | 463 | } |
| 464 | + |
| 465 | + public function wmfextensions() { |
| 466 | + return $this->wmfextensions; |
| 467 | + } |
464 | 468 | } |
465 | 469 | |
466 | 470 | class AllFlaggedRevsExtensionsGroup extends AllMediawikiExtensionsGroup { |