Moved out suprisingly costly get_html_translation_table()\nAdded simple cache for...
[mediawiki.git] / maintenance / rebuildMessages.php
blob2000a8d560875ac77436f165c2f5144dff254060
1 <?
2 $wgCommandLineMode = true;
4 if ( ! is_readable( "../LocalSettings.php" ) ) {
5 print "A copy of your installation's LocalSettings.php\n" .
6 "must exist in the source directory.\n";
7 exit();
10 $DP = "../includes";
11 include_once( "../LocalSettings.php" );
12 include_once( "../AdminSettings.php" );
14 include_once( "{$IP}/Setup.php" );
15 include_once( "./InitialiseMessages.inc" );
16 $wgTitle = Title::newFromText( "Rebuild messages script" );
17 $wgCommandLineMode = true;
18 set_time_limit(0);
20 initialiseMessages( true );
22 exit();