MediaWiki
REL1_19
|
Public Member Functions | |
__construct () | |
Default constructor. | |
execute () | |
Do the actual work. | |
getConditions ($dbw) | |
setupParameters ($force, $brokenOnly) | |
Protected Attributes | |
$dbw |
Definition at line 32 of file refreshImageMetadata.php.
Default constructor.
Children should call this *first* if implementing their own constructors
Reimplemented from Maintenance.
Definition at line 39 of file refreshImageMetadata.php.
References Maintenance\addOption(), and Maintenance\setBatchSize().
Do the actual work.
All child classes will need to implement this
Reimplemented from Maintenance.
Definition at line 56 of file refreshImageMetadata.php.
References $dbw, $file, $options, $res, $total, $verbose, Maintenance\error(), getConditions(), Maintenance\getOption(), Maintenance\hasOption(), Maintenance\output(), setupParameters(), RepoGroup\singleton(), wfGetDB(), and wfWaitForSlaves().
RefreshImageMetadata::getConditions | ( | $ | dbw | ) |
$dbw | DatabaseBase |
Definition at line 163 of file refreshImageMetadata.php.
References $dbw, $mime, Maintenance\getOption(), and File\splitMime().
Referenced by execute().
RefreshImageMetadata::setupParameters | ( | $ | force, |
$ | brokenOnly | ||
) |
$force | bool |
$brokenOnly | bool |
Definition at line 190 of file refreshImageMetadata.php.
References $wgUpdateCompatibleMetadata, and Maintenance\error().
Referenced by execute().
RefreshImageMetadata::$dbw [protected] |
Definition at line 37 of file refreshImageMetadata.php.
Referenced by execute(), and getConditions().