From e62236e219ec5fdac7391e26e9946431d43d9ec5 Mon Sep 17 00:00:00 2001 From: Josef Assad Date: Mon, 15 May 2017 22:02:46 +0200 Subject: [PATCH] add installation instructions --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index f4c5614..a83d608 100644 --- a/README.md +++ b/README.md @@ -8,3 +8,18 @@ imagesLoaded( '#bodyContent', {}, function(){ // do something after images load }); ``` + +Installation +============ + +In your extensions directory: + +```bash +git clone https://github.com/enterprisemediawiki/ImagesLoaded.git +``` + +In your MediaWiki `LocalSettings.php` add the following directive: + +```php +wfLoadExtension( 'ImagesLoaded' ); +```