Cleanup from r28400: avoid duplication between manually calling multiple passes of...
[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 * @todo document
7 * @addtogroup Maintenance
8 */
9
10 /** */
11 require_once( "commandLine.inc" );
12 require_once( "rebuildrecentchanges.inc" );
13 $wgTitle = Title::newFromText( "Rebuild recent changes script" );
14
15 $wgDBuser = $wgDBadminuser;
16 $wgDBpassword = $wgDBadminpassword;
17
18 rebuildRecentChangesTable();
19
20 print "Done.\n";
21 exit();
22
23