Go to file
libraryupgrader 5df0f098a1 build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
The following sniffs are failing and were disabled:
* MediaWiki.Files.ClassMatchesFilename.NotMatch
* MediaWiki.Files.OneClassPerFile.MultipleFound

The following sniffs now pass and were enabled:
* MediaWiki.ControlStructures.IfElseStructure

Change-Id: Ia10258008fc28be6adbbea15f162bffa2be18880
2017-09-01 04:55:27 +00:00
i18n Localisation updates from https://translatewiki.net. 2017-08-30 10:57:40 +02:00
tests/phpunit build: Updating mediawiki/mediawiki-codesniffer to 0.9.0 2017-06-25 13:48:36 +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 build: Updating mediawiki/mediawiki-codesniffer to 0.12.0 2017-09-01 04:55:27 +00:00
COPYING Change ParserFunctions license to GPL-2.0+ 2017-01-06 15:27:33 +00:00
Expr.php build: Updating mediawiki/mediawiki-codesniffer to 0.12.0 2017-09-01 04:55:27 +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: bump grunt and drop grunt-cli 2017-08-01 10:45:34 +02:00
ParserFunctions.hooks.php Add phpcs and make pass 2017-06-06 19:51:28 +00:00
ParserFunctions.i18n.magic.php Complete the Esperanto magicword translation 2017-06-13 19:18:17 +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 build: Updating mediawiki/mediawiki-codesniffer to 0.9.0 2017-06-25 13:48:36 +00:00
phpcs.xml build: Updating mediawiki/mediawiki-codesniffer to 0.12.0 2017-09-01 04:55:27 +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