Go to file
Amir Sarabadani 68c8763def Add CODE_OF_CONDUCT.md
Bug: T165540
Change-Id: Ifb9a4a4b3d539eb0f63e17d046dc89e6297b0d1a
2017-06-07 15:21:27 +04:30
i18n Localisation updates from https://translatewiki.net. 2017-06-03 22:43:29 +02:00
tests/phpunit Add phpcs and make pass 2017-06-06 19:51:28 +00:00
.gitignore Expand .gitignore for more editors 2016-11-13 13:22:16 +01:00
.gitreview Whoops, track not trace 2016-10-24 17:03:13 -07:00
CODE_OF_CONDUCT.md Add CODE_OF_CONDUCT.md 2017-06-07 15:21:27 +04:30
composer.json Add phpcs and make pass 2017-06-06 19:51:28 +00:00
COPYING Change ParserFunctions license to GPL-2.0+ 2017-01-06 15:27:33 +00:00
Expr.php Add phpcs and make pass 2017-06-06 19:51:28 +00:00
extension.json Change ParserFunctions license to GPL-2.0+ 2017-01-06 15:27:33 +00:00
funcsParserTests.txt ParserFunctions parser test: #switch Test php truthy 2016-03-14 19:37:14 +01:00
Gruntfile.js build: add grunt-contrib-jshint 2017-04-21 18:24:03 +02:00
mw.ext.ParserFunctions.lua Allow calling #expr from Lua without the parser 2014-05-05 17:58:40 +00:00
package.json build: add grunt-contrib-jshint 2017-04-21 18:24:03 +02:00
ParserFunctions.hooks.php Add phpcs and make pass 2017-06-06 19:51:28 +00:00
ParserFunctions.i18n.magic.php Use short array syntax in alias file 2017-06-06 17:19:43 +02:00
ParserFunctions.library.php Add phpcs and make pass 2017-06-06 19:51:28 +00:00
ParserFunctions.php Break long lines 2017-06-02 20:55:29 +02:00
ParserFunctions_body.php Add phpcs and make pass 2017-06-06 19:51:28 +00:00
phpcs.xml Add phpcs and make pass 2017-06-06 19:51:28 +00:00
README Change ParserFunctions license to GPL-2.0+ 2017-01-06 15:27:33 +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 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