Extension:MasonryMainPage

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
MediaWiki extensions manual
MasonryMainPage
Release status: unmaintained
Implementation Parser function
Description Enables use of Masonry blocks
Author(s) Daren Welsh (Darenwelshtalk)
Latest version 0.3.0 (2018-11-13)
MediaWiki 1.25+
PHP 5.4+
Database changes No
License GNU General Public License 3.0 or later
Download
README
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').

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

  • <translate> <tvar name=1>Download</tvar> and place the file(s) in a directory called <tvar name=name>MasonryMainPage</tvar> in your <tvar name=ext>extensions/</tvar> folder.</translate>
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'MasonryMainPage' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

Usage

See the README file for further information on this.