MediaWiki  REL1_19
alltrans.php
Go to the documentation of this file.
00001 <?php
00023 require_once( dirname( __FILE__ ) . '/../Maintenance.php' );
00024 
00025 class AllTrans extends Maintenance {
00026         public function __construct() {
00027                 parent::__construct();
00028                 $this->mDescription = "Get all messages as defined by the English language file";
00029         }
00030 
00031         public function execute() {
00032                 $englishMessages = array_keys( Language::getMessagesFor( 'en' ) );
00033                 foreach ( $englishMessages as $key ) {
00034                         $this->output( "$key\n" );
00035                 }
00036         }
00037 }
00038 
00039 $maintClass = "AllTrans";
00040 require_once( RUN_MAINTENANCE_IF_MAIN );