parent::__construct();
$this->mDescription = "Quickie page name dump script for SisterSites usage";
}
-
+
public function execute() {
$dbr = wfGetDB( DB_SLAVE );
$dbr->bufferResults( false );
$text = $title->getPrefixedText();
$this->output( "$url $text\n" );
}
- $dbr->freeResult( $result );
}
}
$maintClass = "DumpSisterSites";
-require_once( DO_MAINTENANCE );
+require_once( RUN_MAINTENANCE_IF_MAIN );