wiki.techinc.nl/tests/qunit/data
Timo Tijhof 2e80fcfc16 resourceloader: Replace QUnit.fixurl with mocked no-cache instruction
Remove this non-standard utility method, which was only used in
ResourceLoader's own test suites to avoid cache hits.

* mediawiki.base: Wasn't ever needed afaik. I believe this was added
  by me out of fear that maybe if we use the same internal script URL
  twice that it wouldn't be loaded a second time due to some deduplication
  logic, however no such logic does (nor should) exist at this level.

  There is something like it in legacy wikibits (importScriptURL),
  and of course the module-level resources are deduped and never
  loaded or executed a second time. But internal asset URLs will
  run no matter what.

* mediawiki.loader: The styleTest.css.php mock doesn't change often,
  but it is indeed useful during development to not get caught with
  a cached response prior to making a local change. Handle this on
  the server-side instead of through randomised URLs.

Tagging T250045 as this is in spirit related to the effort of making
the testrunner.js environment simpler and with fewer custom things.

Bug: T250045
Change-Id: I6813a7429fb503d8dbcb1861f311e4b40c615b9d
2022-02-16 13:31:54 +00:00
..
.eslintrc.json build: Upgrade eslint-config-wikimedia from 0.17.0 to 0.18.1 2021-02-18 08:39:09 -08:00
defineCallMwLoaderTestCallback.js mw.loader: Don't unset 'require' after execution in debug mode 2016-10-04 16:55:34 +00:00
generateJqueryMsgData.php mediawiki.jqueryMsg: Refactor test suite to not make any API requests 2020-04-23 21:59:50 +01:00
load.mock.php resourceloader: Fix load.mock.php query parameter corruption in tests 2020-04-28 16:04:50 +00:00
mediawiki.jqueryMsg.data.json Update formatNum implementation to match tr35 and latest CLDR 2020-10-21 10:08:04 -04:00
mediawiki.jqueryMsg.testdata.js mediawiki.jqueryMsg: Refactor test suite to not make any API requests 2020-04-23 21:59:50 +01:00
mediawiki.loader.getScript.example.js resourceloader: Add getScript() method for loading scripts with callback 2019-02-26 09:12:22 +08:00
mwLoaderTestCallback.js resources: Strip '$' and 'mw' from file closures 2018-09-14 00:59:27 +01:00
requireCallMwLoaderTestCallback.js mw.loader: Don't unset 'require' after execution in debug mode 2016-10-04 16:55:34 +00:00
sinonjs-local.js qunit: Use "test.*" module names only for actual test suites 2020-04-22 21:11:12 +00:00
styleTest.css.php resourceloader: Replace QUnit.fixurl with mocked no-cache instruction 2022-02-16 13:31:54 +00:00
testrunner.js resourceloader: Replace QUnit.fixurl with mocked no-cache instruction 2022-02-16 13:31:54 +00:00