Jump to content

Handbuch:rebuildImages.php

From mediawiki.org
This page is a translated version of the page Manual:RebuildImages.php and the translation is 73% complete.
MediaWiki Version:
1.4

Details

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

Optionen

Option Beschreibung Notwendig
--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


Verwendung

php maintenance/run.php rebuildImages [ --missing| --dry-run ]
Terminal
In MediaWiki version MediaWiki 1.39 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

Siehe auch