00001 <?php 00002 00003 # Rebuild link tracking tables from scratch. This takes several 00004 # hours, depending on the database size and server configuration. 00005 00006 require_once( "commandLine.inc" ); 00007 require_once( "./rebuildlinks.inc" ); 00008 00009 $wgTitle = Title::newFromText( "Rebuild links script" ); 00010 00011 $wgDBuser = $wgDBadminuser; 00012 $wgDBpassword = $wgDBadminpassword; 00013 00014 rebuildLinkTables(); 00015 00016 print "Done.\n"; 00017 exit(); 00018 00019 ?>