New maintenance script for refreshing image metadata (refreshImageMetadata.php)
authorBrian Wolff <bawolff@users.mediawiki.org>
Thu, 25 Aug 2011 05:33:32 +0000 (05:33 +0000)
committerBrian Wolff <bawolff@users.mediawiki.org>
Thu, 25 Aug 2011 05:33:32 +0000 (05:33 +0000)
commitddc1d231497f15271170a23c278989ffe7e3014e
treed480d282bdb30cb6113e55de488205c1051119ac
parenteb013851a5cdf81fae27e7e3807c7be635f94a02
New maintenance script for refreshing image metadata (refreshImageMetadata.php)

This is very similar to rebuildImages.php, except more specific to img_metadata field,
and does the images in batches instead of all at once.

Also, while I'm here, I added a line to Maintenance.php to make sure it casted
$this->mBatchSize to an integer when gotten from command line (thought it was weird
that it didn't do that)

(I'm going to tag this revision 1.18 because I think it'd be nice to have this script
in 1.18 given new image metadata stuff added in 1.18, but not super-important
because rebuildImages.php does already work to refresh image metadata)
RELEASE-NOTES-1.18
maintenance/Maintenance.php
maintenance/refreshImageMetadata.php [new file with mode: 0644]