aboutsummaryrefslogtreecommitdiffstats
path: root/includes/debug
Commit message (Collapse)AuthorAgeFilesLines
* [mw.debug] Clean upKrinkle2012-02-131-6/+9
| | | | | | | | * Instead of inline global variable and lazy-loading, using ResourceLoader (using mw.config and mw.loader) * Can't use OutputPage::addJsConfigVars / OutputPage::addModules because debug is called after those are handled, using ResourceLoader::makeConfigSetScript instead Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/111380
* More return documentationSam Reed2012-02-091-0/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/111101
* Fix typo so that the key is set with correct value instead of a boolean with ↵Alexandre Emsenhuber2012-02-081-1/+1
| | | | | | | key "0" Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/110969
* Recommit r110758 (again) now that the problem has been fixed in r110761Alexandre Emsenhuber2012-02-061-27/+19
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/110762
* reverts r110488Antoine Musso2012-02-061-19/+27
| | | | | | | | | | | | | | | | | | | | | Breaks maintenance/rebuildFileCache.php with stack trace saying that FauxRequest::getRequestURL() not implemented Backtrace: #0 includes/WebRequest.php(1261): FauxRequest->notImplemented('FauxRequest::ge...') #1 includes/debug/Debug.php(266): FauxRequest->getRequestURL() #2 includes/Skin.php(561): MWDebug::getDebugHTML(Object(RequestContext)) #3 includes/SkinTemplate.php(461): Skin->generateDebugHTML() #4 includes/OutputPage.php(1982): SkinTemplate->outputPage() #5 maintenance/rebuildFileCache.php(119): OutputPage->output() #6 maintenance/doMaintenance.php(105): RebuildFileCache->execute() #7 maintenance/rebuildFileCache.php(146): require_once('/srv/trunk/main...') #8 {main} Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/110758
* wfTime() -> microtime( true ), no need to use the former which is just a ↵Alexandre Emsenhuber2012-02-031-3/+3
| | | | | | | wrapper to the latter Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/110642
* Recommit r109062 (Only run some MWDebug code when really needed) but leaving ↵Alexandre Emsenhuber2012-02-011-27/+19
| | | | | | | the addition of ResourceLoader module inside the MWDebug class this time Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/110488
* Reverted r109062 per code slush (also has a CR complaint)Aaron Schulz2012-01-191-7/+27
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/109476
* Only run some MWDebug code when really needed:Alexandre Emsenhuber2012-01-161-27/+7
| | | | | | | | * 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 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/109062
* Move MWDebug enabling logic to Setup.phpAntoine Musso2012-01-161-10/+7
| | | | | | | | | | | | | | 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 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/109032
* MWDebug: avoid double count()Antoine Musso2012-01-131-2/+3
| | | | | | | Follow r107954 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/108875
* some tests for MWDebugAntoine Musso2012-01-131-1/+16
| | | | | | | | | | Really incomplete. We need better testing. Added two new public methods so we can get or clear the internal logs. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/108873
* Followup r107954, rm debugging codeJohn Du Hart2012-01-031-2/+0
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/107966
* Followup r107862John Du Hart2012-01-031-3/+7
| | | | | | | | Fix bug that caused a PHP notice Vertical-align:top on callers in the console Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/107954
* Implemented console panel in debug toolbarJohn Du Hart2012-01-031-4/+78
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/107862
* Using wfTime in place of microtimeJohn Du Hart2012-01-031-3/+3
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/107861
* Followup r105122 & r105123, fixes and improvements per CRJohn Du Hart2011-12-151-23/+8
| | | | | | | | Using Language::getSize per Nikerabbit Cleanup HTML generation per brion (yay) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/106306
* svn:eol-style native on all phase3 stuff, since I messed that up in r105122John Du Hart2011-12-041-0/+216
Also adding the MWDebug class I missed there as well Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/105123