resourceloader: Restore "blocking" legacy modules
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 5 Aug 2015 22:42:26 +0000 (15:42 -0700)
committerOri.livneh <ori@wikimedia.org>
Thu, 6 Aug 2015 02:50:29 +0000 (02:50 +0000)
commit0ac4f99804c48c0193238ca1b479ab07db010105
treedbd6a1e190e184f7b1d0a7caca3b5d68495e2f19
parent84764b82582116868a0124d7ce5ec1cf1adaabaa
resourceloader: Restore "blocking" legacy modules

This ensures 'wikibits' and 'mediawiki.util' (if so configured)
finish loading before executing other modules.

This was previously implicitly provided for the bottom queue by
being in the top-queue, but since this is now asynchronous that
is no lower guaranteed. Fix this by making this explicit instead
of implicit.

Keep them in the top queue as-is to ensure consistency with cached
pages and it allows them to preload and batch in the same request
instead of being discovered later at run-time as a separate request.

Bug: T108124
Change-Id: I74e0cbe616404da927ea46d06308a7bae930eb69
includes/DefaultSettings.php
includes/resourceloader/ResourceLoaderStartUpModule.php
includes/skins/Skin.php
resources/src/mediawiki/mediawiki.js