Extension:RightFunctions
From MediaWiki.org
RightFunctions Release status: stable |
|||
---|---|---|---|
Implementation | Parser function | ||
Description | Permission-based parser functions | ||
Author(s) | Ryan Schmidt (Skizzerztalk) | ||
Latest version | 1.10 | ||
MediaWiki | 1.10+ | ||
Database changes | No | ||
License | None (Public Domain) | ||
Download | |||
|
|||
|
|||
Translate the RightFunctions extension if it is available at translatewiki.net |
|||
Check usage and version matrix; code metrics |
The RightFunctions extension tests various page or user permissions and displays text based off of them.
Usage[edit | edit source]
Please view the documentation for usage instructions.
Download instructions[edit | edit source]
Please download the code and place it in $IP/extensions/RightFunctions/
. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.
If you have MediaWiki versions 1.11.1 or lower (as well as earlier versions of 1.12), download RightFunctions_old.php (ignore the other two files), then rename it to RightFunctions.php. If you have 1.12.0, download RightFunctions.php and RightFunctions.i18n.php (ignore RightFunctions_old.php).
Installation[edit | edit source]
To install this extension, add the following to LocalSettings.php:
require_once("$IP/extensions/RightFunctions/RightFunctions.php"); # put any parameters here, BELOW the require_once call