* http://www.gnu.org/copyleft/gpl.html
*
* @author Brion Vibber <brion at pobox.com>
- * @package MediaWiki
- * @subpackage maintenance
+ * @addtogroup maintenance
*/
$options = array( 'dry-run' );
$result = $this->dbr->query( $sql, $fname );
while( $row = $this->dbr->fetchObject( $result ) ) {
- $updated = call_user_func( $callback, $row );
+ call_user_func( $callback, $row );
}
$this->log( "Finished $table... $this->updated of $this->processed rows updated" );
$this->dbr->freeResult( $result );
if( $row->page_namespace == $this->namespace ) {
$talk = $target->getTalkPage();
- $xrow = $row;
$row->page_namespace = $talk->getNamespace();
if( $talk->exists() ) {
return $this->processPage( $row );
$caps = new CapsCleanup( isset( $options['dry-run'] ), $ns );
$caps->cleanup();
-?>
+