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' ); +```