Extension:RightFunctions
From MediaWiki.org
|
RightFunctions Release status: stable |
|
|---|---|
| Implementation | Parser function |
| Description | Permission-based parser functions |
| Author(s) | Ryan Schmidt (Skizzerz Talk) |
| Version | 1.9 |
| MediaWiki | 1.10+ |
| Download | SVN README CHANGELOG |
| Parameters | $wgRightFunctionsUserGroups, $wgRightFunctionsDisableFunctions, $wgRightFunctionsAllowExpensiveQueries, $wgRightFunctionsAllowCaching |
| Hooks used | |
Contents |
[edit] What can this extension do?
Tests various page or user permissions and displays text based off of them.
[edit] Usage
Please view the documentation for usage instructions.
[edit] Download instructions
Please download the code from SVN 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.
[edit] Installation
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
[edit] Notes
If anyone would like to test this on earlier versions (1.10 and downward) and report on my talk page whether it works or not, I'd greatly appreciate it :)

