summaryrefslogtreecommitdiff
path: root/maintenance/dumpMessages.php
blob: 84ecc4c6d421f7031e48d9ac1a469c3b55b55457 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
/**
 * @todo document
 * @package MediaWiki
 * @subpackage Maintenance
 */

/** */
require_once( "commandLine.inc" );
$wgMessageCache->disableTransform();
$messages = array();
foreach ( $wgAllMessagesEn as $key => $englishValue )
{
	$messages[$key] = wfMsg( $key );
}
print "MediaWiki $wgVersion language file\n";
print serialize( $messages );

?>