Forgot to commit the change to showhideminor. Also removing commented-out strings.
[lhc/web/wiklou.git] / maintenance / rebuildall.php
1 <?php
2
3 # Rebuild link tracking tables from scratch. This takes several
4 # hours, depending on the database size and server configuration.
5
6 require_once( "commandLine.inc" );
7
8 #require_once( "rebuildlinks.inc" );
9 require_once( "refreshlinks.inc" );
10 require_once( "rebuildtextindex.inc" );
11 require_once( "rebuildrecentchanges.inc" );
12
13 $wgDBuser = $wgDBadminuser;
14 $wgDBpassword = $wgDBadminpassword;
15
16 # Doesn't work anymore
17 # rebuildLinkTables();
18
19 # Use the slow incomplete one instead. It's designed to work in the background
20 #refreshLinks( 1 );
21
22 dropTextIndex();
23 rebuildTextIndex();
24 createTextIndex();
25
26 rebuildRecentChangesTablePass1();
27 rebuildRecentChangesTablePass2();
28
29 print "Done.\n";
30 exit();
31
32 ?>