Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Wiki - please add ParserFunctions module #486

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

Wiki - please add ParserFunctions module #486

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: frederik[at]remote.org
[Submitted to the original trac issue database at 11.17am, Friday, 25th May 2007]

For state-of-the-art template processing, you need a !MediaWiki extension called "!ParserFunctions". This will allow you to create templates that behave differently depending on whether certain template parameters are set or not, and opens up a lot of other possiblities as well.

Could someone please install ParserFunctions on our Wiki. Honestly, everybody else has it, it doesn't break anything, and it takes only 5 minutes to install. Detailed instructions are here:

http://meta.wikimedia.org/wiki/ParserFunctions#Installation

but I copy them for your convenience:


--- start extract from wikimedia page ---

Download both of these files and put them in a new directory called !ParserFunctions in your extensions directory.

* Expr.php http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/ParserFunctions/Expr.php
* !ParserFunctions.php http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/ParserFunctions/ParserFunctions.php

Then put the following at the end of your !LocalSettings.php:

require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" );

--- end extract from wikimedia page ---

Thanks a lot!

@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 11.05pm, Sunday, 19th August 2007]

Done.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant