Go to file
Arlo Breault ae237035f1 Update tests to match parser changes
Bug: T208070
Depends-On: I3da235cb83efa424f0cf1cf4fc7233240fcdf6b2
Change-Id: I74953d5de765a2245a2999f17c7ae1cf49376bd1
2019-03-15 18:24:34 +00:00
i18n Localisation updates from https://translatewiki.net. 2019-02-25 22:58:24 +01:00
includes Merge "Enable string functions if running parser/PHPUnit tests" 2019-02-07 23:41:04 +00:00
tests Update tests to match parser changes 2019-03-15 18:24:34 +00:00
.gitignore Add phan configuration 2018-02-24 14:09:51 -08:00
.gitreview Whoops, track not trace 2016-10-24 17:03:13 -07:00
.phpcs.xml build: Update sniff list in .phpcs.xml 2018-12-08 16:39:48 +01:00
CODE_OF_CONDUCT.md build: Updating mediawiki/phan-taint-check-plugin to 1.3.0 2018-08-19 15:11:06 +00:00
composer.json build: Updating mediawiki/mediawiki-codesniffer to 24.0.0 2019-02-07 02:30:47 +00:00
COPYING Change ParserFunctions license to GPL-2.0+ 2017-01-06 15:27:33 +00:00
extension.json Merge "Enable string functions if running parser/PHPUnit tests" 2019-02-07 23:41:04 +00:00
Gruntfile.js build: Always exclude vendor 2017-11-08 17:15:51 +01:00
package.json build: Updating npm dependencies for security issues 2018-10-13 19:43:49 +00:00
ParserFunctions.i18n.magic.php Add translations for ckb 2019-01-15 11:25:48 +02:00
ParserFunctions.php Start showing warning for deprecated PHP entry point 2018-10-26 21:25:36 +02:00
README Change ParserFunctions license to GPL-2.0+ 2017-01-06 15:27:33 +00:00

ParserFunctions v1.4.0

1. Licensing
2. How to install
3. Tests

1. Licensing
Licensed under GNU GPL 2.0 or any later version. 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