diff --git a/MasonryMainPage.class.php b/MasonryMainPage.class.php
index 327aac6..410f1d7 100644
--- a/MasonryMainPage.class.php
+++ b/MasonryMainPage.class.php
@@ -59,8 +59,6 @@ static function renderMasonryMainPage ( &$parser, $frame, $args ) {
// There are issues loading Masonry via ResourceLoader in MW 1.27, but not in MW 1.25.
// Functionality in other MW versions is unknown at this writing.
- $scriptURL = "$wgServer/$wgExtensionAssetsPath/MasonryMainPage/imagesloaded.pkgd.js";
- $wgOut->addScript( "" );
$scriptURL = "$wgServer/$wgExtensionAssetsPath/MasonryMainPage/masonry.pkgd.js";
$wgOut->addScript( "" );
diff --git a/MasonryMainPage.php b/MasonryMainPage.php
index cd7647e..d1a4ee6 100644
--- a/MasonryMainPage.php
+++ b/MasonryMainPage.php
@@ -41,7 +41,7 @@
'url' => 'http://github.com/enterprisemediawiki/MasonryMainPage',
'author' => '[https://www.mediawiki.org/wiki/User:Darenwelsh Daren Welsh]',
'descriptionmsg' => 'masonrymainpage-desc',
- 'version' => '0.3.0'
+ 'version' => '0.4.0'
);
@@ -52,7 +52,7 @@
$wgAutoloadClasses['MasonryMainPage'] = __DIR__ . '/MasonryMainPage.class.php';
$wgResourceModules['ext.masonrymainpage.base'] = array(
- 'scripts' => array( 'imagesloaded.pkgd.js', 'masonry.pkgd.js', 'masonry-common.js' ),
+ 'scripts' => array( 'masonry-common.js' ),
'styles' => 'Masonry.css',
'localBasePath' => __DIR__,
'remoteExtPath' => 'MasonryMainPage',
diff --git a/README.md b/README.md
index 04aadd7..510a3cc 100644
--- a/README.md
+++ b/README.md
@@ -1,13 +1,17 @@
MasonryMainPage
-=========================
+===============
-This extension enables the use of Masonry blocks in MediaWiki.
+This extension enables the use of Masonry blocks in MediaWiki.
Masonry is developed by David DeSandro and information about that script can be found at http://masonry.desandro.com
-=========================
+DEPENDENCIES
+------------
+
+* [Extension:ImagesLoaded](https://github.com/enterprisemediawiki/ImagesLoaded)
+
USAGE
-=========================
+-----
To enable this extension, append the following to LocalSettings.php
@@ -28,13 +32,13 @@ To use this extension in a MediaWiki page, add the following elements to the con
Begin Masonry Blocks
-->
-{{#masonry-block: title =
- | width =
- | color =
- | body =
+{{#masonry-block: title =
+ | width =
+ | color =
+ | body =
}}
-{{#masonry-block: title =
- | body =
+{{#masonry-block: title =
+ | body =
}}