Extension:MasonryMainPage

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
MasonryMainPage
Release status: beta
Implementation Parser function
Description Enables use of Masonry blocks
Author(s) Daren Welsh (Darenwelshtalk)
Latest version 0.2.1 (2015-08-12)
MediaWiki 1.22+
PHP 5.3+
Database changes No
License GNU General Public License 3.0 or later
Download
README
Hooks used
BeforePageDisplay
AjaxAddScript
ParserFirstCallInit
Translate the MasonryMainPage extension if it is available at translatewiki.net
Check usage and version matrix.

The MasonryMainPage extension allows users to format the body of a wiki page using Masonry blocks. These blocks will dynamically relocate upon initial load and browser resize to more efficiently fill the space.

The Masonry script is developed by David DeSandro and information about that script can be found at masonry.desandro.com.

Installation[edit]

  • Download and place the file(s) in a directory called MasonryMainPage in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/MasonryMainPage/MasonryMainPage.php";
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage[edit]

See the README file for further information on this.