Extension:PaginateText

MediaWiki extensions manual
PaginateText
Release status: beta
Implementation Tag
Description Paginates a long block of text
Author(s) Ike Hecht (Tosfostalk)
Latest version 0.1.0 (December 2014)
MediaWiki 1.23
PHP 5.3
Database changes No
License GNU General Public License 2.0 or later
Download
Quarterly downloads 1 (Ranked 173rd)
Translate the PaginateText extension if it is available at translatewiki.net

The PaginateText extension paginates a long block of text contained in a wiki page.

InstallationEdit

  • Download and place the file(s) in a directory called PaginateText in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php :
    wfLoadExtension( 'PaginateText' );
    
    If installing from git, don't forget to do git submodule init && git submodule update. Otherwise, the extension will not work.
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

To users running MediaWiki 1.24 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension(). If you need to install this extension on these earlier versions (MediaWiki 1.24 and earlier), instead of wfLoadExtension( 'PaginateText' );, you need to use:

require_once "$IP/extensions/PaginateText/PaginateText.php";

UsageEdit

<paginatetext>A really huge block of text ... that ends here.</paginatetext>

The pages default to a height of 600px. This can be modified by passing a height parameter. For example:

<paginatetext height=300px>A really huge block of text ... that ends here.</paginatetext>