Extension:ParserFunctions

From eLinux.org
Jump to: navigation, search
MediaWiki extensions manual
Crystal Clear action run.png
ParserFunctions

Release status: stable

Implementation Parser functions
Description Enhances parser with logical functions
Author(s) Tim Starlingtalk
MediaWiki 1.7+
License GPL2 or Any OSI approved license
Download
Check usage and version matrix; code metrics

ParserFunctions extension enhances parser with logical functions. New versions (r50997+) also incorporate the features of StringFunctions. For instructions on how to use it, please see the help page.

Installation

  1. Download a snapshot and extract it to your extensions directory. Choose the version that matches your version of MediaWiki.
  2. Add
    require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" );
    
    to the bottom of LocalSettings.php.
  3. If you want to use the integrated string function functionality, add $wgPFEnableStringFunctions = true; just after that.
  4. Installation can now be verified through Special:Version of your wiki.

Requirements

The ParserFunctions extension requires

  • MediaWiki 1.7.0 or above
  • PHP compiled with 'ctype' functions (almost always is included by default)

If you are using Mediawiki 1.7.1 you can download the ParserFunctions for version 1.10. Just follow the instructions mentioned above and everything works fine.

For MediaWiki 1.15.1, use the REL1_15_1 branch.

For the trunk version (currently 1.16alpha), use the trunk version.

See also


Language: [[::Extension:ParserFunctions|English]]