typo: missing ')'
[lhc/web/wiklou.git] / maintenance / remove-brokenlinks.php
index 8cdd9ba..a4a139e 100644 (file)
@@ -1,6 +1,11 @@
 <?php
+/**
+ * Remove spurious brokenlinks
+ * @package MediaWiki
+ * @subpackage Maintenance
+ */
 
-# Remove spurious brokenlinks
+/** */
 require_once( "commandLine.inc" );
 require_once( "./rebuildrecentchanges.inc" );
 $wgTitle = Title::newFromText( "Rebuild brokenlinks script" );
@@ -10,7 +15,7 @@ $n = 0;
 echo "Checking for broken brokenlinks...\n";
 
 $dbw =& wfGetDB( DB_MASTER );
-extract( $dbw->tableNames( 'brokenlinks', 'cur', 'linkscc' );
+extract( $dbw->tableNames( 'brokenlinks', 'cur', 'linkscc' ) );
 
 $res = $dbw->select( 'cur', array( 'cur_namespace', 'cur_title', 'cur_id' ), false );