Manual:$wgNativeImageLazyLoading/de

Category:MediaWiki configuration settings/de#NativeImageLazyLoadingCategory:MediaWiki configuration settings introduced in version 1.34.0/de#NativeImageLazyLoadingCategory:MediaWiki configuration settings still in use/de#NativeImageLazyLoadingCategory:Upload variables/de#NativeImageLazyLoading
Dateien und Datei-Uploads: $wgNativeImageLazyLoading
Allows to toggle native image lazy loading, via the "loading" attribute in HTML.
Eingeführt in Version:1.34.0 (Gerrit change 531442; git #3b7eecf)
Entfernt in Version:Weiterhin vorhanden
Erlaubte Werte:(Wahrheitswert)
Standardwert:false

Details

If set to true, this configuration parameter enables native MediaWiki lazy loading for all images on the site. Lazy loading allows images to load gradually as a user scrolls the page, thus reducing server load.

To activate it, you need to add the following code to your LocalSettings.php file:

$wgNativeImageLazyLoading = true;

No prerequisites or additional configuration are needed.

Category:MediaWiki configuration settings/de Category:MediaWiki configuration settings introduced in version 1.34.0/de Category:MediaWiki configuration settings still in use/de Category:Upload variables/de