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";
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;
20 initialiseMessages( true );