Extension:ParserFunctions

From eLinux.org
Revision as of 02:52, 25 December 2009 by Cherry2005 (Talk | contribs) (Installation: Make sure people get the right version)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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: English