Manuale:RefreshImageMetadata.php

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:RefreshImageMetadata.php and the translation is 12% complete.

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎中文 • ‎日本語

Dettagli

Il file refreshImageMetadata.php è uno script di manutenzione per aggiornare campi di metadati immagine

Usage

Parameters

Option/Parameter Description
--force Reload metadata from file even if the metadata looks ok.
--broken-only Only fix really broken records, leave old but still compatible records alone.
--verbose Output extra information about each upgraded/non-upgraded file.
--start="file_name" Name 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.
--end="file_name" Name of file to end with.
--mediatype="media type" Only refresh files with this media type, e.g. BITMAP, UNKNOWN etc.
--mime="MIME type" Only refresh files with this MIME type. Can accept wild-card 'image/*'. Potentially inefficient unless mediatype is also specified
--metadata-contains="string" (Inefficient!) Only refresh files where the img_metadata field contains this string. Can be used if its known a specific property was being extracted incorrectly