Extension:InteractiveBlockMessage

From mediawiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
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+
MediaWiki 1.36 Not formally tested
MediaWiki 1.34 Not formally tested
MediaWiki 1.32 Not formally tested
License GNU General Public License 2.0 or later
Download
Translate the InteractiveBlockMessage extension if it is available at translatewiki.net

Check usage and version matrix.

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 place the file(s) in a directory called InteractiveBlockMessage in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'InteractiveBlockMessage' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.