Jump to content

Extension:Lazyload

From mediawiki.org
MediaWiki extensions manual
Lazyload
Release status: unmaintained
Implementation Media
Description An extension to delay loading of images on MediaWiki pages.
Author(s) Mudkip metalk
Latest version 0.3.0 (2018-01-04)
MediaWiki 1.25+
License MIT License
Download
README

The Lazyload extension is an extension to delay loading of images on MediaWiki pages.

As of MediaWiki 1.34.0, lazy loading of images can be enabled in core through $wgNativeImageLazyLoading .

Installation

[edit]
  • Download and place the file(s) in a directory called Lazyload in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'Lazyload' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.