Manual:$wgNativeImageLazyLoading/pl
Files and file uploads: $wgNativeImageLazyLoading | |
---|---|
Toggles native image lazy loading, via the "loading" attribute. |
|
Wprowadzono w wersji: | 1.34.0 (Gerrit change 531442; git #3b7eecf) |
Usunięto w wersji: | nadal w użyciu |
Dozwolone wartości: | (boolean) |
Domyślna wartość: | false |
Inne ustawienia: Alfabetycznie | Według funkcji |
Szczegóły
If set to true, enables native MediaWiki LazyLoading for all images on site. LazyLoading technology allows images to load gradually as a user scrolls the page, reducing server load.
To activate it, you just need to add in your Localsettings.php the following code:
$wgNativeImageLazyLoading = true;
No additional configuration needed.