Go to file
Alexia E. Smith cf1480cb96 Fix E_WARNING with {{#pos:}} if the offset is larger than the string
The mb_strpos() function throws E_WARNING if the offset is longer
than the length of the string.

Bug: T209600
Change-Id: Ib4296ba136eaf5c8461681e9d5f108118b2494f4
2018-11-15 12:50:32 -08:00
i18n Localisation updates from https://translatewiki.net. 2018-11-07 22:22:24 +01:00
includes Fix E_WARNING with {{#pos:}} if the offset is larger than the string 2018-11-15 12:50:32 -08:00
tests Fix E_WARNING with {{#pos:}} if the offset is larger than the string 2018-11-15 12:50:32 -08: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 Add method scope visibility 2018-11-01 19:50:46 +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/phan-taint-check-plugin to 1.5.0 2018-09-08 04:36:01 +00:00
COPYING Change ParserFunctions license to GPL-2.0+ 2017-01-06 15:27:33 +00:00
extension.json Don't call SpecialPageFactory methods statically 2018-08-17 11:04:59 -07: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 Adding Urdu translations of magic words related to Parser function extension. 2017-10-04 15:09:50 -07: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