Jump to content

Extension:TextScroller

From mediawiki.org
MediaWiki extensions manual
TextScroller
Release status: stable
Implementation Parser extension
Description Adds a parser function, {{#txtscrl}} to embed the text scrolling widget
Author(s) Jordan Small
Latest version 1.0 (2015-07-29)
MediaWiki 1.42+
License GNU General Public License 2.0 or later
Download
Quarterly downloads 0
Translate the TextScroller extension if it is available at translatewiki.net

The TextScroller extension adds a parser function, {{#txtscrl}} to embed the text scrolling widget.

It was written by Jordan Small for wikiHow.

Installation

[edit]
  • Download and move the extracted TextScroller folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/TextScroller
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'TextScroller' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.


Usage

[edit]

{{#txtscrl:Arrow text|Gray text|Scroll text}}