Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

rebuildall.php

Go to the documentation of this file.
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 00008 #require_once( "rebuildlinks.inc" ); 00009 require_once( "refreshlinks.inc" ); 00010 require_once( "rebuildtextindex.inc" ); 00011 require_once( "rebuildrecentchanges.inc" ); 00012 00013 $wgDBuser = $wgDBadminuser; 00014 $wgDBpassword = $wgDBadminpassword; 00015 00016 # Doesn't work anymore 00017 # rebuildLinkTables(); 00018 00019 # Use the slow incomplete one instead. It's designed to work in the background 00020 #refreshLinks( 1 ); 00021 00022 dropTextIndex(); 00023 rebuildTextIndex(); 00024 createTextIndex(); 00025 00026 rebuildRecentChangesTablePass1(); 00027 rebuildRecentChangesTablePass2(); 00028 00029 print "Done.\n"; 00030 exit(); 00031 00032 ?>

Generated on Tue Jun 29 23:40:06 2004 for Mediawiki by doxygen 1.3.7