Extension:ParserFunctions
From MediaWiki.org
|
ParserFunctions Release status: stable |
|||
|---|---|---|---|
| Implementation | Parser function | ||
| Description | Enhances parser with logical and string functions | ||
| Author(s) | Tim Starlingtalk | ||
| Last version | 1.5.1 (2013-01-06) | ||
| MediaWiki | 1.7+ | ||
| Database changes | No | ||
| License | GPL2 or Any OSI approved license | ||
| Download |
README CHANGELOG |
||
|
|||
| Check usage and version matrix | |||
| Bugs: list open list all report | |||
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 hereafter).
Usage [edit]
For usage instructions, see the ParserFunctions help page, and the StringFunctions page.
Installation [edit]
This extension is bundled with MediaWiki 1.18 and above (to enable it skip directly to step 4 below). Steps 1 to 3 only 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
ParserFunctionsin your$IP/extensionsdirectory. - Extract the files to this
$IP/extensions/ParserFunctionsdirectory. - 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.
See also [edit]
| This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. 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 • 日本語 • 한국어 • मराठी • русский |
|---|