Manual:$wgUpdateCompatibleMetadata

From MediaWiki.org
Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil
EXIF: $wgUpdateCompatibleMetadata
Whether to automatically update the img_metadata field if it is outdated but compatible with the current version.
Introduced in version: 1.18.0 (r86169)
Removed in version: still in use
Allowed values: boolean
Default value: false
Other settings: Alphabetical | By function

Details[edit]

Whether to automatically update the img_metadataManual:Image_table#img_metadata field in the database, if the metadata becomes outdated (say, after a major upgrade of MediaWiki) but can be automatically updated to the current format. This update would take place when viewing the image page, or alternatively, it could be forced by running the refreshImageMetadata.phpManual:refreshImageMetadata.php maintenance script.

This setting defaults to false, because during a code update, a lot of images could suddenly have outdated metadata. Regenerating all of them could overload the server if it is a busy server.