Only run some MWDebug code when really needed:
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 16 Jan 2012 21:29:05 +0000 (21:29 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 16 Jan 2012 21:29:05 +0000 (21:29 +0000)
commit7e16cba9023dd6052a23595807179cb90fd5ac63
tree5e3f3cc8b34fcf0e3e39168fa017337d53eacf65
parent883da87ccf20585e5dea337b3a4490d9363fe92b
Only run some MWDebug code when really needed:
* Add the mediawiki.debug module from OutputPage::addDefaultModules() along with other modules
* Get the request information when building the JS output instead of in Setup.php
includes/OutputPage.php
includes/Setup.php
includes/debug/Debug.php