Public Member Functions | |
ImageBuilder ($dryrun=false) | |
getRepo () | |
build () | |
init ($count, $table) | |
progress ($updated) | |
buildTable ($table, $key, $callback) | |
buildImage () | |
imageCallback ($row, $copy) | |
buildOldImage () | |
oldimageCallback ($row, $copy) | |
crawlMissing () | |
checkMissingImage ($fullpath) | |
addMissingImage ($filename, $fullpath) |
Definition at line 38 of file rebuildImages.php.
ImageBuilder::addMissingImage | ( | $ | filename, | |
$ | fullpath | |||
) |
Definition at line 174 of file rebuildImages.php.
References $filename, $fname, $wgContLang, and wfLocalFile().
Referenced by checkMissingImage().
ImageBuilder::build | ( | ) |
ImageBuilder::buildImage | ( | ) |
ImageBuilder::buildOldImage | ( | ) |
ImageBuilder::buildTable | ( | $ | table, | |
$ | key, | |||
$ | callback | |||
) |
Definition at line 95 of file rebuildImages.php.
References $fname, $result, init(), and progress().
Referenced by buildImage(), and buildOldImage().
ImageBuilder::checkMissingImage | ( | $ | fullpath | ) |
Definition at line 151 of file rebuildImages.php.
References $filename, $fname, addMissingImage(), and wfBaseName().
ImageBuilder::crawlMissing | ( | ) |
ImageBuilder::getRepo | ( | ) |
Definition at line 49 of file rebuildImages.php.
References RepoGroup::singleton().
Referenced by imageCallback(), and oldimageCallback().
ImageBuilder::ImageBuilder | ( | $ | dryrun = false |
) |
Definition at line 39 of file rebuildImages.php.
ImageBuilder::imageCallback | ( | $ | row, | |
$ | copy | |||
) |
ImageBuilder::init | ( | $ | count, | |
$ | table | |||
) |
ImageBuilder::oldimageCallback | ( | $ | row, | |
$ | copy | |||
) |
ImageBuilder::progress | ( | $ | updated | ) |
Definition at line 69 of file rebuildImages.php.
References printf(), wfTime(), and wfTimestamp().
Referenced by buildTable().