Extension:ParserFunctions

From MediaWiki.org

Jump to: navigation, search
Manual on MediaWiki Extensions
List of MediaWiki Extensions
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 Download snapshot

Subversion [Help]
Browse source code

check usage (experimental)

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.

[edit] 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.

[edit] 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.

[edit] See also

Language: English  • Français • 日本語 • 한국어 • मराठी • Русский