Replace the call to action=raw with a couple API calls for the main
[lhc/web/wiklou.git] / maintenance / rebuildrecentchanges.php
index a94780e..4231ff7 100644 (file)
@@ -3,8 +3,9 @@
  * Rebuild link tracking tables from scratch.  This takes several
  * hours, depending on the database size and server configuration.
  *
+ * @file
  * @todo document
- * @addtogroup Maintenance
+ * @ingroup Maintenance
  */
 
 /** */
@@ -15,11 +16,9 @@ $wgTitle = Title::newFromText( "Rebuild recent changes script" );
 $wgDBuser                      = $wgDBadminuser;
 $wgDBpassword          = $wgDBadminpassword;
 
-rebuildRecentChangesTablePass1();
-rebuildRecentChangesTablePass2();
-rebuildRecentChangesTablePass3(); // flag bot edits
+rebuildRecentChangesTable();
 
 print "Done.\n";
-exit();
+exit(0);