Revert "Optimize order of styles and scripts"
authorOri.livneh <ori@wikimedia.org>
Sat, 21 Mar 2015 05:14:02 +0000 (05:14 +0000)
committerKrinkle <krinklemail@gmail.com>
Wed, 25 Mar 2015 04:40:46 +0000 (04:40 +0000)
commit2b6eb60ce53cd71af8b6ef1d860ef6d3b3a684a2
treebcbaa2ddff934430746fc760efdbc30b2b7533e8
parent3eafa8dd37a428e56de944611ecdb7be203177d2
Revert "Optimize order of styles and scripts"

The patch did not improve performance. I'd like to think that the increased
control over when inline scripts are executed makes the patch worthwhile
regardless, but that is post hoc justification and possibly a bit of personal
ego. Krinkle agrees that we may use some of the ideas in this patch in the
future but he thinks we're better off not heading down this path before we
have a better sense of where we're going, and I trust his judgment.

This reverts commit e86e5f8460b922cadac231142a495f3259c67b43.

Change-Id: I151f74a41dd664b5a0aa5cfd99fcc95e2686a1e6
includes/EditPage.php
includes/OutputPage.php
includes/debug/MWDebug.php
includes/resourceloader/ResourceLoader.php
includes/resourceloader/ResourceLoaderStartUpModule.php
includes/skins/Skin.php
includes/specials/SpecialJavaScriptTest.php
tests/phpunit/includes/OutputPageTest.php