MediaWiki
REL1_22
|
Maintenance script to refresh file headers from metadata. More...
Public Member Functions | |
__construct () | |
execute () | |
Protected Member Functions | |
updateFileHeaders (File $file, array $headers) |
Maintenance script to refresh file headers from metadata.
Definition at line 34 of file refreshFileHeaders.php.
Reimplemented from Maintenance.
Definition at line 35 of file refreshFileHeaders.php.
References Maintenance\addOption(), and Maintenance\setBatchSize().
Reimplemented from Maintenance.
Definition at line 44 of file refreshFileHeaders.php.
References $count, $dbr, $file, $res, array(), as, Maintenance\getOption(), Maintenance\hasOption(), Maintenance\output(), RepoGroup\singleton(), updateFileHeaders(), and wfGetDB().
RefreshFileHeaders::updateFileHeaders | ( | File $ | file, |
array $ | headers | ||
) | [protected] |
Definition at line 82 of file refreshFileHeaders.php.
References array(), Maintenance\error(), File\getPath(), and File\getRepo().
Referenced by execute().