One more password bug fix, DisableCounters flag.
[lhc/web/wiklou.git] / maintenance / rebuildLinks.php
1 <?
2
3 # Rebuild link tracking tables from scratch. This takes several
4 # hours, depending on the database size and server configuration.
5
6 global $IP;
7 include_once( "../LocalSettings.php" );
8 include_once( "$IP/Setup.php" );
9 include_once( "./rebuildLinks.inc" );
10 include_once( "./rebuildRecentChanges.inc" );
11 $wgTitle = Title::newFromText( "Rebuild links script" );
12 set_time_limit(0);
13
14 $wgDBuser = "wikiadmin";
15 $wgDBpassword = $wgDBadminpassword;
16
17 rebuildLinkTablesPass1();
18 rebuildLinkTablesPass2();
19
20 rebuildRecentChangesTable();
21
22 print "Done.\n";
23 exit();
24
25 ?>