Manual:$wgGenerateThumbnailOnParse/ru

From Linux Web Expert

Revision as of 02:00, 6 December 2023 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> Thumbnail settings</translate>: $wgGenerateThumbnailOnParse
Allow thumbnail rendering on page view.
<translate> Introduced in version:</translate>1.7.0 (r15342)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(boolean)
<translate> Default value:</translate>true

Details

Allow thumbnail rendering on page view. If this is false, a valid thumbnail URL is still outputted, but no file will be created at the target location. This may save some time if you have a thumb.php or 404 handler set up which is faster than the regular webserver(s).

Setting this to true is equivalent to setting the transformVia404 property in $wgLocalFileRepo and $wgForeignFileRepos to false.

См. также