MediaWiki
REL1_22
|
Maintenance script to refresh image metadata fields. More...
Public Member Functions | |
__construct () | |
execute () | |
getConditions ($dbw) | |
setupParameters ($force, $brokenOnly) | |
Protected Attributes | |
DatabaseBase | $dbw |
Maintenance script to refresh image metadata fields.
Definition at line 37 of file refreshImageMetadata.php.
Reimplemented from Maintenance.
Definition at line 43 of file refreshImageMetadata.php.
References Maintenance\addOption(), and Maintenance\setBatchSize().
Reimplemented from Maintenance.
Definition at line 60 of file refreshImageMetadata.php.
References $dbw, $error, $file, $options, $res, $total, $verbose, DatabaseBase\addQuotes(), array(), as, 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().