Go to file
Kunal Mehta 662734cc6f Enable string functions if running parser/PHPUnit tests
Instead of using a global variable specific to Wikimedia CI, always enable
string functions when running parser and PHPUnit tests.

Bug: T180192
Bug: T200650
Change-Id: I27764036e42800be437d69d96ce2b7bc1b1f7cb3
2019-02-07 01:59:13 +00:00
i18n Localisation updates from https://translatewiki.net. 2018-07-28 22:30:03 +02:00
includes Enable string functions if running parser/PHPUnit tests 2019-02-07 01:59:13 +00:00
tests Update extensions to take advantage of parser test autodiscovery 2018-04-13 14:58:29 +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: Updating mediawiki/mediawiki-codesniffer to 17.0.0 2018-03-29 04:41:34 +00:00
CODE_OF_CONDUCT.md Add CODE_OF_CONDUCT.md 2017-06-07 15:21:27 +04:30
composer.json build: Updating mediawiki/mediawiki-codesniffer to 21.0.0 2018-07-27 12:06:25 +00:00
COPYING Change ParserFunctions license to GPL-2.0+ 2017-01-06 15:27:33 +00:00
extension.json Enable string functions if running parser/PHPUnit tests 2019-02-07 01:59:13 +00:00
Gruntfile.js build: Always exclude vendor 2017-11-08 17:15:51 +01:00
package.json build: Bump devDependencies to latest 2018-02-23 18:18:21 -08:00
ParserFunctions.i18n.magic.php Adding Urdu translations of magic words related to Parser function extension. 2017-10-04 15:09:50 -07:00
ParserFunctions.php Break long lines 2017-06-02 20:55:29 +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