Jump to content

Extension:InteractiveBlockMessage

From mediawiki.org
MediaWiki extensions manual
InteractiveBlockMessage
Release status: beta
Implementation Parser extension
Description Allows to use and create interactive block templates
Author(s) Petr Bena (Petrbtalk)
Latest version 1.1.0 (2014-04-01)
MediaWiki 1.17+
License GNU General Public License 2.0 or later
Download
Quarterly downloads 0
Translate the InteractiveBlockMessage extension if it is available at translatewiki.net

The InteractiveBlockMessage extensions adds a new magic word {{USERBLOCKED}} which, when used in the NS_USER or NS_USER_TALK namespaces, indicates the blocked status of the user (true if blocked, false if not blocked). It will make it possible to create more user-friendly block templates, which change appearance depending on the user's block status.

Installation

[edit]
  • Download and move the extracted InteractiveBlockMessage 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/InteractiveBlockMessage
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'InteractiveBlockMessage' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.