Last modified: 2009-02-08 23:40:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T19408, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17408 - Configuration variable for displaying debug remarks in page
Configuration variable for displaying debug remarks in page
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Robert Leverington
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-08 12:34 UTC by Robert Leverington
Modified: 2009-02-08 23:40 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Patch adding $wgShowDebug functionality (2.14 KB, patch)
2009-02-08 23:26 UTC, Robert Leverington
Details

Description Robert Leverington 2009-02-08 12:34:07 UTC
It would be useful to be able to see debug comments within the page when doing development work or debugging.  This would ideally be at the bottom of the main content area, perhaps below a horizontal line.
Comment 1 Chad H. 2009-02-08 17:06:09 UTC
Agreed, and I was just thinking about this the other day. Some times you want to see the debug output from performing an action. Firefox re-requests the page when showing page source, so it can sometimes be a different query than your previous page load (hit caches, etc).

$wgShowDebugInPage?
Comment 2 Robert Leverington 2009-02-08 23:26:32 UTC
Created attachment 5788 [details]
Patch adding $wgShowDebug functionality

This patch adds a $wgShowDebug configuration variable which dictates whether debug comments are output to the bottom of the main content area, defaulting to false.
Comment 3 Robert Leverington 2009-02-08 23:39:47 UTC
Fixed in r47023.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links