Commit graph

11 commits

Author SHA1 Message Date
Aaron Schulz
8d5837cc27 Reverted r109062 per code slush (also has a CR complaint) 2012-01-19 02:26:10 +00:00
Alexandre Emsenhuber
7e16cba902 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
2012-01-16 21:29:05 +00:00
Antoine Musso
ff39c31a97 Move MWDebug enabling logic to Setup.php
MWDebug initialization method was made to look up for a global variable. This
patch move the logic to Setup.php so we can replicate it when doing tests.

Side effect, MWDebug is disabled by default. Users will explicitly have to
enable it by using init().

Ping r105123
2012-01-16 13:44:46 +00:00
Antoine Musso
6fdbefa521 MWDebug: avoid double count()
Follow r107954
2012-01-13 23:10:21 +00:00
Antoine Musso
0f02086990 some tests for MWDebug
Really incomplete. We need better testing.

Added two new public methods so we can get or clear the internal logs.
2012-01-13 23:07:52 +00:00
John Du Hart
c1f84a7a64 Followup r107954, rm debugging code 2012-01-03 23:52:15 +00:00
John Du Hart
9a96f9f323 Followup r107862
Fix bug that caused a PHP notice
Vertical-align:top on callers in the console
2012-01-03 22:36:35 +00:00
John Du Hart
7e9d750cc7 Implemented console panel in debug toolbar 2012-01-03 05:56:36 +00:00
John Du Hart
e09029f654 Using wfTime in place of microtime 2012-01-03 04:02:35 +00:00
John Du Hart
f12c373d1e Followup r105122 & r105123, fixes and improvements per CR
Using Language::getSize per Nikerabbit
Cleanup HTML generation per brion (yay)
2011-12-15 02:26:14 +00:00
John Du Hart
33df266958 svn:eol-style native on all phase3 stuff, since I messed that up in r105122
Also adding the MWDebug class I missed there as well
2011-12-04 18:35:40 +00:00