Public Member Functions | |
ImageBuilder ($dryrun=false) | |
getRepo () | |
build () | |
init ($count, $table) | |
progress ($updated) | |
buildTable ($table, $key, $callback) | |
buildImage () | |
imageCallback ($row) | |
buildOldImage () | |
oldimageCallback ($row) | |
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 $file, $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 $count, $fname, $result, $row, $sql, init(), and progress().
Referenced by buildImage(), and buildOldImage().
ImageBuilder::checkMissingImage | ( | $ | fullpath | ) |
Definition at line 151 of file rebuildImages.php.
References $filename, $fname, $row, 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 |
) |
ImageBuilder::imageCallback | ( | $ | row | ) |
ImageBuilder::init | ( | $ | count, | |
$ | table | |||
) |
Definition at line 61 of file rebuildImages.php.
References $count, table, and wfTime().
Referenced by buildTable().
ImageBuilder::oldimageCallback | ( | $ | row | ) |
ImageBuilder::progress | ( | $ | updated | ) |
Definition at line 69 of file rebuildImages.php.
References printf(), table, wfTime(), and wfTimestamp().
Referenced by buildTable().