Allow leading whitespace in redirect matches (bug 13344)
[mediawiki.git] / maintenance / rebuildrecentchanges.php
blob3c455c55e7f2781d04e5f09e5fbdaf799b318305
1 <?php
2 /**
3 * Rebuild link tracking tables from scratch. This takes several
4 * hours, depending on the database size and server configuration.
6 * @todo document
7 * @addtogroup Maintenance
8 */
10 /** */
11 require_once( "commandLine.inc" );
12 require_once( "rebuildrecentchanges.inc" );
13 $wgTitle = Title::newFromText( "Rebuild recent changes script" );
15 $wgDBuser = $wgDBadminuser;
16 $wgDBpassword = $wgDBadminpassword;
18 rebuildRecentChangesTable();
20 print "Done.\n";
21 exit();