MediaWiki
REL1_19
|
Public Member Functions | |
__construct () | |
Default constructor. | |
addMissingImage ($filename, $fullpath) | |
build () | |
buildImage () | |
buildOldImage () | |
buildTable ($table, $key, $callback) | |
checkMissingImage ($fullpath) | |
crawlMissing () | |
execute () | |
Do the actual work. | |
getRepo () | |
imageCallback ($row, $copy) | |
init ($count, $table) | |
oldimageCallback ($row, $copy) | |
progress ($updated) | |
Protected Attributes | |
$dbw |
Definition at line 35 of file rebuildImages.php.
Default constructor.
Children should call this *first* if implementing their own constructors
Reimplemented from Maintenance.
Definition at line 42 of file rebuildImages.php.
References $wgUpdateCompatibleMetadata, and Maintenance\addOption().
ImageBuilder::addMissingImage | ( | $ | filename, |
$ | fullpath | ||
) |
Definition at line 181 of file rebuildImages.php.
References $file, $wgContLang, getRepo(), Maintenance\output(), and wfLocalFile().
Referenced by checkMissingImage().
Definition at line 80 of file rebuildImages.php.
References buildImage(), and buildOldImage().
Referenced by execute().
Definition at line 138 of file rebuildImages.php.
References buildTable().
Referenced by build().
Definition at line 150 of file rebuildImages.php.
References buildTable().
Referenced by build().
ImageBuilder::buildTable | ( | $ | table, |
$ | key, | ||
$ | callback | ||
) |
Definition at line 120 of file rebuildImages.php.
References $count, $result, init(), Maintenance\output(), progress(), and wfGetDB().
Referenced by buildImage(), and buildOldImage().
ImageBuilder::checkMissingImage | ( | $ | fullpath | ) |
Definition at line 169 of file rebuildImages.php.
References addMissingImage(), and wfBaseName().
Definition at line 165 of file rebuildImages.php.
References getRepo().
Referenced by execute().
Do the actual work.
All child classes will need to implement this
Reimplemented from Maintenance.
Definition at line 55 of file rebuildImages.php.
References build(), crawlMissing(), Maintenance\hasOption(), and wfGetDB().
Definition at line 73 of file rebuildImages.php.
References RepoGroup\singleton().
Referenced by addMissingImage(), crawlMissing(), imageCallback(), and oldimageCallback().
ImageBuilder::imageCallback | ( | $ | row, |
$ | copy | ||
) |
Definition at line 143 of file rebuildImages.php.
References $file, and getRepo().
ImageBuilder::init | ( | $ | count, |
$ | table | ||
) |
Definition at line 85 of file rebuildImages.php.
References $count, and wfTime().
Referenced by buildTable().
ImageBuilder::oldimageCallback | ( | $ | row, |
$ | copy | ||
) |
Definition at line 154 of file rebuildImages.php.
References $file, getRepo(), and Maintenance\output().
ImageBuilder::progress | ( | $ | updated | ) |
Definition at line 93 of file rebuildImages.php.
References Maintenance\output(), wfTime(), and wfTimestamp().
Referenced by buildTable().
ImageBuilder::$dbw [protected] |
Definition at line 40 of file rebuildImages.php.