Extension:InteractiveBlockMessage
From MediaWiki.org
InteractiveBlockMessage Release status: beta |
|
---|---|
Implementation | Parser extension |
Description | This extension makes interactive block templates possible |
Author(s) | Petr Bena (Petrbtalk) |
License | GNU General Public License |
Download | |
Translate the InteractiveBlockMessage extension if it is available at translatewiki.net |
|
Check usage and version matrix; code metrics |
This 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 | edit source]
Extract all files to the extensions directory, and insert the extension to LocalSettings.php
require_once("$IP/extensions/InteractiveBlockMessage/InteractiveBlockMessage.php");