Extension:PaginateText
Appearance
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 | 0 |
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.
Installation
[edit]- Download and move the extracted
PaginateText
folder to yourextensions/
directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/PaginateText - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'PaginateText' );
If installing from git, don't forget to dogit 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.
Usage
[edit]<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>