summaryrefslogtreecommitdiff
path: root/maintenance/language/alltrans.php
blob: 67c870e604a79adb91942c486f2ad9bc692c35f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
/**
 * @file
 * @ingroup MaintenanceLanguage
 *
 * Get all the translations messages, as defined in the English language file.
 */

require_once( dirname(__FILE__).'/../commandLine.inc' );

$wgEnglishMessages = array_keys( Language::getMessagesFor( 'en' ) );
foreach( $wgEnglishMessages as $key ) {
	echo "$key\n";
}