Manual:$wgUpdateCompatibleMetadata/zh

From Linux Web Expert

Revision as of 05:33, 8 November 2022 by imported>Zys6913 (Created page with "== 详情 ==")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> EXIF</translate>: $wgUpdateCompatibleMetadata
Whether to automatically update the img_metadata field if it is outdated but compatible with the current version.
<translate> Introduced in version:</translate>1.18.0 (r86169)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(布尔值)
<translate> Default value:</translate>false

详情

Whether to automatically update the 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.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.