*
* @file
* @author Brion Vibber <brion at pobox.com>
- * @ingrouo maintenance
+ * @ingroup maintenance
*/
$options = array( 'missing', 'dry-run' );
require_once( 'FiveUpgrade.inc' );
class ImageBuilder extends FiveUpgrade {
- function ImageBuilder( $dryrun = false ) {
+ function __construct( $dryrun = false ) {
parent::FiveUpgrade();
$this->maxLag = 10; # if slaves are lagged more than 10 secs, wait
}
}
$this->log( "Finished $table... $this->updated of $this->processed rows updated" );
- $this->dbr->freeResult( $result );
}
function buildImage() {
}
function addMissingImage( $filename, $fullpath ) {
- $fname = 'ImageBuilder::addMissingImage';
-
$timestamp = $this->dbw->timestamp( filemtime( $fullpath ) );
global $wgContLang;