Manual:rebuildImages.php

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.4
<translate> MediaWiki version:</translate>

Details

rebuildImages.php file is a maintenance script to update metadata records for images that were manually uploaded to the wiki, for example via FTP.

Options

Option Description Required
--missing Only updates metadata records for images if no records currently exist in the database. <translate> Optional</translate>
--dry-run Only reports results and does not update the database with metadata records. <translate> Optional</translate>

Usage

php maintenance/rebuildImages.php [ --missing| --dry-run ]
Terminal

See also