3 # Rebuild link tracking tables from scratch. This takes several
4 # hours, depending on the database size and server configuration.
6 if ( ! is_readable( "../LocalSettings.php" ) ) {
7 print "A copy of your installation's LocalSettings.php\n" .
8 "must exist in the source directory.\n";
13 include_once( "../LocalSettings.php" );
14 include_once( "../AdminSettings.php" );
16 include_once( "{$IP}/Setup.php" );
17 include_once( "./rebuildtextindex.inc" );
18 $wgTitle = Title
::newFromText( "Rebuild text index script" );
21 $wgDBuser = $wgDBadminuser;
22 $wgDBpassword = $wgDBadminpassword;