Go to file
2011-09-07 21:39:33 +00:00
Convert.php Follow up r81074: implement a language map per Tim's suggestion (no more American linguistic imperialism, yay! :D). This is not a perfect solution because languages without translations still fall back to 'en' rather than 'en-gb' and so use the American units there, but this cures most of the issue. 2011-09-07 21:28:41 +00:00
convertTests.txt FU 96499, r81074: fix parser tests to reflect the change in default dialect, and make them not run (and die) when {{#convert}} is disabled. 2011-09-07 21:39:33 +00:00
COPYING * remove MediaWiki pre-1.8 compatibility and remove SprintfDateCompat.php 2010-10-02 22:36:34 +00:00
Expr.php Follow-up r81074: 2011-01-29 13:54:02 +00:00
exprTests.txt Revert "Adds explicit round-off checking to operations that are sensitive to floating point vs. integer round-off errors.", et al. ( r46683, r46671 ) 2009-02-12 22:29:32 +00:00
funcsParserTests.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.i18n.magic.php Fixing a Persian translation (extra collon, can't be fixed through translatewiki) 2011-05-20 00:11:37 +00:00
ParserFunctions.i18n.php Add the position of the text to the messages so that 2011-09-01 18:45:53 +00:00
ParserFunctions.php Follow up r81074: implement a language map per Tim's suggestion (no more American linguistic imperialism, yay! :D). This is not a perfect solution because languages without translations still fall back to 'en' rather than 'en-gb' and so use the American units there, but this cures most of the issue. 2011-09-07 21:28:41 +00:00
ParserFunctions_body.php follow up to r87308 - fix redundancy 2011-07-19 20:31:38 +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
testExpr.php * remove MediaWiki pre-1.8 compatibility and remove SprintfDateCompat.php 2010-10-02 22:36:34 +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