wiki.techinc.nl/tests
jdlrobson bc4e07b6f6 resourceloader: Implement modern module loading (2/2)
* Send 'module' and 'require' parameters to module closures.
  This depends on Ia925844cc22f143 being deployed one cycle earlier.
* Patch Moment and OOjs to ensure these libraries continue to expose
  their module as globals as well. AMD/UMD-compatible libraries
  only expose a global *OR* an export, not both. We need both
  for back-compat.
* Update pluralRuleParser to make use of module export to allow
  usage via require().

To test, check out the patch and run:
> mw.loader.load('moment');
> mw.loader.require('moment')()
> mw.loader.require('moment')('2011-04-01').fromNow()

Bug: T108655
Change-Id: Idbd054880ee70d659ec760aef8fcb38d0704a394
2016-04-13 15:43:41 +00:00
..
browser Cleanup Cucumber tags in Selenium tests 2016-02-29 11:29:41 +00:00
parser Revert "Allow reset of global services." 2016-04-11 13:40:28 -07:00
phpunit resourceloader: Implement modern module loading (2/2) 2016-04-13 15:43:41 +00:00
qunit resourceloader: Implement modern module loading (2/2) 2016-04-13 15:43:41 +00:00
.gitignore
.htaccess
parserTests.php Fix parserTests.php script 2016-03-03 16:52:39 -08:00
testHelpers.inc Improve code suffering from PHP 5.3's lack of support for foo()[] 2016-02-28 22:49:20 +01:00
TestsAutoLoader.php Factor SpecilaPageExecutor out of SpecialPageTestBase 2016-03-24 14:17:55 +00:00