mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ParserFunctions
synced 2024-11-23 15:57:10 +00:00
2e145b0ff6
sr-ec and sr-el are not conform to BCP 47. https://tools.ietf.org/html/bcp47 BCP 47 explicit mentions sr-Latn and sr-Cyrl as examples. This change requires 6839b8599458d978b0596de57c8cb8f31db5a2f6 in MediaWiki core included in MediaWiki 1.39. The bidirectional fallback between the old and the new language codes ensures that the magic words supports both language codes. This can be checked at api.php?action=query&meta=siteinfo&siprop=magicwords&format=json Just the order of the entries is different after this change. The rename of the JSON files * sr-ec.json to sr-cyrl.json and * sr-el.json to sr-latn.json has to be done in translatewiki.net. Bug: T117845 Depends-On: I666fbdea89ccf21aab6ca1849adf22813dec052e Change-Id: I2746b7986cda454affbc17f467fef233ecd4bf51 |
||
---|---|---|
.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