MediaWiki
REL1_20
|
Maintenance script to refresh image metadata fields. More...
Public Member Functions | |
__construct () | |
Default constructor. | |
execute () | |
Do the actual work. | |
getConditions ($dbw) | |
setupParameters ($force, $brokenOnly) | |
Protected Attributes | |
DatabaseBase | $dbw |
Maintenance script to refresh image metadata fields.
Definition at line 37 of file refreshImageMetadata.php.
Default constructor.
Children should call this *first* if implementing their own constructors
Reimplemented from Maintenance.
Definition at line 43 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 60 of file refreshImageMetadata.php.
References $dbw, $file, $options, $res, $total, $verbose, DatabaseBase\addQuotes(), Maintenance\error(), getConditions(), Maintenance\getOption(), Maintenance\hasOption(), Maintenance\output(), DatabaseBase\select(), setupParameters(), RepoGroup\singleton(), wfGetDB(), and wfWaitForSlaves().
RefreshImageMetadata::getConditions | ( | $ | dbw | ) |
$dbw | DatabaseBase |
Definition at line 167 of file refreshImageMetadata.php.
Referenced by execute().
RefreshImageMetadata::setupParameters | ( | $ | force, |
$ | brokenOnly | ||
) |
$force | bool |
$brokenOnly | bool |
Definition at line 194 of file refreshImageMetadata.php.
Referenced by execute().
DatabaseBase RefreshImageMetadata::$dbw [protected] |
Definition at line 41 of file refreshImageMetadata.php.
Referenced by execute().