The last checkin broke the wiki on installations where TMP is not set
[lhc/web/wiklou.git] / maintenance / rebuildrecentchanges.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 require_once( "./rebuildrecentchanges.inc" );
8 $wgTitle = Title::newFromText( "Rebuild recent changes script" );
9
10 $wgDBuser = $wgDBadminuser;
11 $wgDBpassword = $wgDBadminpassword;
12
13 rebuildRecentChangesTablePass1();
14 rebuildRecentChangesTablePass2();
15
16 print "Done.\n";
17 exit();
18
19 ?>