MediaWiki
REL1_22
|
00001 <?php 00024 require_once __DIR__ . '/../Maintenance.php'; 00025 00032 class AllTrans extends Maintenance { 00033 public function __construct() { 00034 parent::__construct(); 00035 $this->mDescription = "Get all messages as defined by the English language file"; 00036 } 00037 00038 public function execute() { 00039 $englishMessages = array_keys( Language::getMessagesFor( 'en' ) ); 00040 foreach ( $englishMessages as $key ) { 00041 $this->output( "$key\n" ); 00042 } 00043 } 00044 } 00045 00046 $maintClass = "AllTrans"; 00047 require_once RUN_MAINTENANCE_IF_MAIN;