MediaWiki version: | ≥ 1.4 |
MediaWiki file: | rebuildImages.php|
---|---|
Location: | maintenance/ |
Source code: | master • 1.40.0 • 1.39.4 • 1.35.11 |
Classes: | ImageBuilder |
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. | Optional |
--dry-run | Only reports results and does not update the database with metadata records. | Optional |
Usage
php maintenance/rebuildImages.php [ --missing| --dry-run ]
Terminal
$ php maintenance/rebuildImages.php Processing image... Finished image... 2 of 3 rows updated Processing oldimage... Finished oldimage... 0 of 0 rows updated
See also
- rebuildall.php
- refreshLinks.php
- checkImages.php
- refreshFileHeaders.php
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.