resourceloader: Omit default 'lang' and 'skin' params from load.php urls
authorFomafix <fomafix@googlemail.com>
Mon, 10 Jun 2019 17:38:05 +0000 (19:38 +0200)
committerKrinkle <krinklemail@gmail.com>
Thu, 13 Jun 2019 17:22:07 +0000 (17:22 +0000)
commit63fc0a8cc7ee1567c57bfc111c2df982a3d5e03e
treec7b993a86c5af0993d62d7209e0ac24483a70026
parentc3e379d60333c149e78aeb0cabbf9ce8c9c7fb29
resourceloader: Omit default 'lang' and 'skin' params from load.php urls

lang=qqx and skin=fallback are the default values.

This change removes the default values from the load request of the
html5shiv module.

Before this change
 <script src="/w/load.php?lang=qqx&amp;modules=html5shiv&amp;only=scripts&amp;skin=fallback&amp;sync=1"></script>
With this change
 <script src="/w/load.php?modules=html5shiv&amp;only=scripts&amp;sync=1"></script>

Change-Id: Ie384ce0f7ab1bd0b6c2d3f0ca4a990c3cf3a7f15
includes/resourceloader/ResourceLoader.php
tests/phpunit/includes/OutputPageTest.php
tests/phpunit/includes/resourceloader/ResourceLoaderClientHtmlTest.php