Extension:ParserFunctions

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
For usage instructions, see the ParserFunctions help page, and the StringFunctions page.

Installation

 * 1) Download the files from Git or download a snapshot. Choose the version that matches your version of MediaWiki.
 * 2) Create a directory   in your   directory.
 * 3) Extract the files to this   directory.
 * 4) Add to the bottom of LocalSettings.php:
 * 5) If you want to use the integrated string function functionality, add just after that line
 * 6) Installation can now be verified through Special:Version of your wiki.

Configuration

 * $wgPFEnableStringFunctions
 * Allows to activate the integrated string function functionality. The default value is.


 * $wgPFStringLengthL
 * Defines the maximum length of a string that string functions are allowed to operate on. The default value is.