Extension:Lazyload

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎español • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
Lazyload
Release status: beta
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
Hooks used
ThumbnailBeforeProduceHTML
LinkerMakeExternalImage
Translate the Lazyload extension if it is available at translatewiki.net
Check usage and version matrix.

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

Installation

  • 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:
    require_once "$IP/extensions/Lazyload/Lazyload.php";
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.