mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ParserFunctions
synced 2024-11-24 00:06:21 +00:00
ee66f0bfff
Personally I find the code much more readable when the private helper method returns a bool. Note this patch is intentionally tiny and focusses exclusively on this one detail. There are many parser tests to prove that nothing changed. Change-Id: Ibe07c27aab9cbfc4705769820be679cd54acb79b |
||
---|---|---|
.phan | ||
i18n | ||
includes | ||
tests | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
extension.json | ||
Gruntfile.js | ||
package-lock.json | ||
package.json | ||
ParserFunctions.i18n.magic.php | ||
README |
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 "wfLoadExtension( 'ParserFunctions' );" to the end of your LocalSettings (without the double 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