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
|
|
|
|
|
* @package MediaWiki
|
|
|
|
|
* @subpackage Maintenance
|
|
|
|
|
*/
|
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-05-07 13:43:10 +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();
|
|
|
|
|
|
|
|
|
|
print "Done.\n";
|
|
|
|
|
exit();
|
|
|
|
|
|
|
|
|
|
?>
|