Go to file
Brad Jorsch b386038c00 #switch should not match #default as a prefix
For example, "{{#switch:x|#defaultWTF? = This is crazy}}" should not
return "This is crazy".

Bug: 67871
Change-Id: Ie3f2e6b254b9f44028156268bd8d67aa3dd1cc62
2014-07-11 18:16:11 +00:00
i18n Localisation updates from https://translatewiki.net. 2014-06-30 20:38:22 +00:00
tests (bug 43451) Restore old behavior of 'mod', add 'fmod' 2012-12-28 16:27:23 -05:00
.gitignore ParserFunctions extension maintenance. 2012-10-03 20:58:43 +00:00
.gitreview Adding .gitreview 2012-03-23 10:31:59 -07:00
COPYING * remove MediaWiki pre-1.8 compatibility and remove SprintfDateCompat.php 2010-10-02 22:36:34 +00:00
Expr.php Allow calling #expr from Lua without the parser 2014-05-05 17:58:40 +00:00
funcsParserTests.txt #switch should not match #default as a prefix 2014-07-11 18:16:11 +00:00
mw.ext.ParserFunctions.lua Allow calling #expr from Lua without the parser 2014-05-05 17:58:40 +00:00
ParserFunctions.i18n.magic.php Localisation updates from https://translatewiki.net. 2014-05-31 19:01:42 +00:00
ParserFunctions.i18n.php Update i18n shim 2014-04-22 13:35:45 +00:00
ParserFunctions.library.php Allow calling #expr from Lua without the parser 2014-05-05 17:58:40 +00:00
ParserFunctions.php Merge "Add a TTL to #time and #timel output" 2014-06-24 22:54:38 +00:00
ParserFunctions_body.php #switch should not match #default as a prefix 2014-07-11 18:16:11 +00:00
README Update README a bit 2011-01-10 05:24:36 +00:00
stringFunctionTests.txt Follow-up to r67044: moved string function tests to a separate file protected by conditional, tweaked test runner to skip instead of exploding when required function hook is not found. 2010-07-09 21:11:54 +00:00

ParserFunctions v1.4.0

1. Licensing
2. How to install
3. Tests

1. Licensing
Licensed under GNU GPL. See COPYING for more license information.

2. How to install
   a. Download this tarbell and extract the contents to $IP/extensions/ParserFunctions/
      where $IP is your root wiki install
   b. Add 'require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php");' to the 
      end of your LocalSettings (without the single quotes)
   c. Enjoy

3. Tests
ParserFunctions ships with two tests
- Parser tests. These get added to the main parser tests, see there for docs
- Expression tests. These are designed to test the math-related functions
  See testExpr.php