Manual:RefreshImageMetadata.php/de

MediaWiki Version:
1.18
Category:MediaWiki code/de#RefreshImageMetadata.php

Details

Die refreshImageMetadata.php-Datei ist ein Wartungsskript für die Aktualisierung von Bildmetadaten-Feldern. It processes 200 items in a batch.

Optionen/Argumente

OptionBeschreibungNotwendig?
--forceReload metadata from file even if the metadata looks ok.Optional
--broken-onlyOnly fix really broken records, leave old but still compatible records alone.Optional
--convert-to-jsonFix records with an out of date serialization format.Optional
--splitEnable splitting out large metadata items to the text table. Implies --convert-to-json.Optional
--verboseOutput extra information about each upgraded/non-upgraded file.Optional
--startName of file to start with. Spaces must be replaced by underscores, since the parameter will be used to match the file name as stored in the database.Optional
--endName of file to end with.Optional
--mediatypeOnly refresh files with this media type, e.g. BITMAP, UNKNOWN etc.Optional
--mimeOnly refresh files with this MIME type. Can accept wild-card 'image/*'. Potentially inefficient unless mediatype is also specifiedOptional
--metadata-contains(Ineffizient!) Only refresh files where the img_metadata field contains this string. Can be used if its known a specific property was being extracted incorrectlyOptional
--sleepTime to sleep between each batch (in seconds). Default: 0Optional
--oldimageRun and refresh on oldimage table.Optional

Verwendung

php maintenance/run.php refreshImageMetadata [ --force| --broken-only| --convert-to-json| --split| --verbose| --start| --end| --mediatype| --mime| --metadata-contains| --sleep| --oldimage ]
Terminal
In MediaWiki version 1.39.12 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

Siehe auch

Category:Maintenance scripts/de Category:File maintenance scripts/de
Category:File maintenance scripts/de Category:Maintenance scripts/de Category:MediaWiki code/de