Laajennus:TextScroller

From mediawiki.org
This page is a translated version of the page Extension:TextScroller and the translation is 100% complete.
MediaWikin laajennukset-ohje
OOjs UI icon advanced-invert.svg
TextScroller
Julkaisustatus: vakaa
TextScroller MediaWiki extension.png
Toteutus Jäsenninlaajennus
Kuvaus Adds a parser function, {{#txtscrl}} to embed the text scrolling widget
Tekijä(t) Jordan Small
Viimeisin versio 1.0 (2015-07-29)
MediaWiki 1.38+
Lisenssi GNU General Public License 2.0 tai myöhempi
Lataa
Voit kääntää TextScroller-laajennuksen mikäli se on saatavilla translatewiki.netissä

Check usage and version matrix.

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

It was written by Jordan Small for wikiHow.

Asennus

  • Download and place the file(s) in a directory called TextScroller in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php :
    wfLoadExtension( 'TextScroller' );
    
  • Yes TehtyNavigate 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( 'TextScroller' );, you need to use:

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

Käyttö

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