Manual:RefreshFileHeaders.php/de

Category:MediaWiki code/de#RefreshFileHeaders.php

Details

Die refreshFileHeaders.php-Datei ist ein Wartungsskript, der Datei-Header wird anhand der Metadaten aktualisiert.

Optionen

Option Beschreibung Notwendig
--verboseOutput information about each fileOptional
--startName of file to start withOptional
--endName of file to end withOptional
--media_typeMedia type to filter forOptional
--major_mimeMajor MIME type to filter forOptional
--minor_mimeMinor MIME type to filter forOptional
--refreshContentTypeSet to true to refresh file content type from mime data in databaseOptional

Verwendung

php maintenance/run.php refreshFileHeaders [ --start| --end| --major_mime| --media_type| --minor_mime| --refreshContentType| --verbose ]
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.

Refreshing file metadata

Terminal

Refreshing files' metadata with verbose

Terminal

Refreshing only PNG files' metadata

Terminal

Siehe auch

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