This page is a translated version of the page Extension:ParserFunctions and the translation is 0% complete.
This extension comes with MediaWiki 1.18 and above. Thus you do not have to download it again. However, you still need to follow the other instructions provided.
मिडियाविकि विस्तारकांची निदेशपुस्तिका
विमोचन स्थिती: स्थिर
अंमलबजावणी Parser function
वर्णन Enhances parser with logical and string functions
लेखक Tim Starlingचर्चा
नविनतम आवृत्ती Continuous updates
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki 1.25+
विदागाराचे बदल नाही
परवाना GNU General Public License 2.0 or later
  • $wgPFEnableStringFunctions
  • $wgPFStringLengthLimit
Quarterly downloads 401 (Ranked 10th)
Public wikis using 15,766 (Ranked 4th)
Translate the ParserFunctions extension if it is available at translatewiki.net
बाबी खुली कामे · गणकदोष अहवाल द्या

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 former StringFunctions extension, which may be enabled or disabled.

For instructions on how to use this extension, see the help pages.

  • Download and move the extracted ParserFunctions folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ParserFunctions
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'ParserFunctions' );
  • Configure as required, e.g., if you want to use the integrated string function functionality, add just after that line:
$wgPFEnableStringFunctions = true;
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.


Allows to activate the integrated string function functionality (see string function ). The default value is false.
Defines the maximum length of a string that string functions are allowed to operate on. The default value is 1000.

Help pages

See also