[Mediawiki-l] Turning on debugging messages in MediaWiki

Lisa Ridley lhridley at theridleys.org
Tue Feb 20 19:44:29 UTC 2007


Hi all,

I'm a long-time user of MediaWiki software, and recently ventured into 
writing extensions and code modifications.  I noticed when perusing the 
code files that there are a number of debugging messages scattered 
throughout with phrases calling wfDebug.  It appears that these messages 
are turned off in the production releases of MediaWiki.

Can anyone tell me where the "switch" resides that will turn on these 
messages?  I have three versions of MediaWiki installed on a development 
machine and would like to turn these on when developing extensions to 
make sure there are no conflicts, especially since I'm using some 
"include" statements that pull MediaWiki base code files into some of 
the extension so I can access the functions in those files.

I have error messages enabled in both MySQL and PHP for my development 
computer.

Any assistance here would be greatly appreciated.

Thanks!

Lisa




More information about the MediaWiki-l mailing list