wiki.techinc.nl/tests
Kunal Mehta e103ba265b resourceloader: Only store sources' load.php urls
Previously ResourceLoader would store any arbitrary data about a
source, provided it had a 'loadScript' key. It would register
the 'local' source with an additional 'apiScript' key, which was
also documented in DefaultSettings.php. However, it was
completely unused outside of the ForeignAPIGadgetRepo class in
Gadgets 2.0, which should be changed to take an API url as a
parameter. This was not useful as it was not ever formally
exposed, and it could not be depended upon that a source had
registered an 'apiScript' key.

For backwards compatability, both ResourceLoader::addSource()
and mw.loader.addSource() will both take an array/object, but
discard all parameters except for 'loadScript'.

Also added tests for ResourceLoader::addSource().

Bug: 69878
Change-Id: I4205cf788cddeec13b619be0c3576197dec1b8bf
2014-09-05 04:38:22 +02:00
..
browser Use <pre> to format bash commands 2014-07-30 22:34:45 -03:00
frontend build: Update grunt-jscs (formerly grunt-jscs-checker) from 0.4.4 to 0.6.1 2014-07-18 13:46:08 -07:00
parser Merge "Change @return to start with type" 2014-08-22 23:20:36 +00:00
phpunit resourceloader: Only store sources' load.php urls 2014-09-05 04:38:22 +02:00
qunit resourceloader: Only store sources' load.php urls 2014-09-05 04:38:22 +02:00
.gitignore browser acceptance tests 2014-06-23 08:03:06 -07:00
.htaccess
parserTests.php Break some long lines in maintenance, skins, tests 2014-07-24 19:03:17 +02:00
testHelpers.inc Fix phpcs errors in tests dir 2014-08-17 22:57:09 +01:00
TestsAutoLoader.php Merge "Run some parser tests with tidy." 2014-08-13 21:02:56 +00:00