2004-02-18 02:15:00 +00:00
|
|
|
<?php
|
2004-09-03 20:33:01 +00:00
|
|
|
/**
|
|
|
|
|
* Rebuild link tracking tables from scratch. This takes several
|
|
|
|
|
* hours, depending on the database size and server configuration.
|
|
|
|
|
*
|
|
|
|
|
* @todo document
|
2007-01-20 15:09:52 +00:00
|
|
|
* @addtogroup Maintenance
|
2004-09-03 20:33:01 +00:00
|
|
|
*/
|
2003-05-02 22:55:37 +00:00
|
|
|
|
2004-09-03 20:33:01 +00:00
|
|
|
/** */
|
2004-06-15 15:18:50 +00:00
|
|
|
require_once( "commandLine.inc" );
|
2004-09-07 02:20:02 +00:00
|
|
|
require_once( "rebuildrecentchanges.inc" );
|
2003-05-02 22:55:37 +00:00
|
|
|
$wgTitle = Title::newFromText( "Rebuild recent changes script" );
|
|
|
|
|
|
|
|
|
|
$wgDBuser = $wgDBadminuser;
|
|
|
|
|
$wgDBpassword = $wgDBadminpassword;
|
|
|
|
|
|
|
|
|
|
rebuildRecentChangesTablePass1();
|
|
|
|
|
rebuildRecentChangesTablePass2();
|
2007-05-21 23:56:05 +00:00
|
|
|
rebuildRecentChangesTablePass3(); // flag bot edits
|
2003-05-02 22:55:37 +00:00
|
|
|
|
|
|
|
|
print "Done.\n";
|
|
|
|
|
exit();
|
|
|
|
|
|
|
|
|
|
?>
|