adding cur_touched to inserted rows, setting wgCommandLineMode
[lhc/web/wiklou.git] / maintenance / rebuildMessages.php
1 <?
2 $wgCommandLineMode = true;
3
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();
8 }
9
10 $DP = "../includes";
11 include_once( "../LocalSettings.php" );
12 include_once( "../AdminSettings.php" );
13
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);
19
20 initialiseMessages( true );
21
22 exit();
23
24 ?>