Extension:ParserFunctions
From MediaWiki.org
ParserFunctions Release status: stable |
|||
---|---|---|---|
Implementation | Parser functions | ||
Description | Enhances parser with logical and string functions | ||
Author(s) | Tim StarlingTalk | ||
Last version | continuous updates | ||
MediaWiki | 1.7+ | ||
Database changes | no | ||
License | GPL2 or Any OSI approved license | ||
Download |
Download snapshot (Git master)
Git [?]: repo summary • tree • code changes SVN [?]: checkout-url • tree • code changes README CHANGELOG |
||
|
|||
Check usage (experimental) |
The ParserFunctions extension enhances the wikitext parser with helpful functions, mostly related to logic and string-handling. Since MediaWiki 1.15, ParserFunctions has incorporated most (but not all) of the functions from the StringFunctions extension, which may be enabled or disabled (see install instructions below).
[edit] Usage
For usage instructions, see the ParserFunctions help page, and the StringFunctions page.
[edit] Installation
Note: This extension is bundled with MediaWiki 1.18 and above. Steps 1 to 3 described below apply to previous versions of MediaWiki.
- Download the files from Git or download a snapshot. Choose the version that matches your version of MediaWiki.
- Create a directory
ParserFunctions
in your$IP/extensions
directory. - Extract the files to this
$IP/extensions/ParserFunctions
directory. - Add to the bottom of LocalSettings.php:
require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" );
- If you want to use the integrated string function functionality, add just after that line
$wgPFEnableStringFunctions = true;
- Installation can now be verified through Special:Version of your wiki.
[edit] See also
![]() |
This extension is being used on one or more of Wikimedia's wikis. This means that the extension is stable and works well enough to be used by such high traffic websites. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page. |
Language: | English • Deutsch • Français • 日本語 • 한국어 • मराठी • Русский |
---|