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";
10 $wgCommandLineMode = true;
12 include_once( "../LocalSettings.php" );
13 include_once( "../AdminSettings.php" );
15 $sep = strchr( $include_path = ini_get( "include_path" ), ";" ) ?
";" : ":";
16 ini_set( "include_path", "$IP$sep$include_path" );
18 include_once( "Setup.php" );
19 include_once( "./InitialiseMessages.inc" );
20 $wgTitle = Title
::newFromText( "Rebuild messages script" );
21 $wgCommandLineMode = true;
24 initialiseMessages( true );