/mediawiki-extensions-CategoryWatch

Github mirror of MediaWiki extension CategoryWatch - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing)

Primary LanguagePHPGNU General Public License v2.0GPL-2.0

CategoryWatch

Main development Git repository on Gerrit: https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/CategoryWatch

Here is the Phabricator Diffusion: https://phabricator.wikimedia.org/diffusion/ECWA/

Mirror on GitHub: https://github.com/seanchen/CategoryWatch

MediaWiki extension CategoryWatch, https://www.mediawiki.org/wiki/Extension:CategoryWatch

Initial commit is forked from commit 4ad0f63: https://github.com/OrganicDesign/extensions/tree/4ad0f631438ed16c05edfa08e65e0de00b4b1342/MediaWiki-Legacy/CategoryWatch

How to debug

3 simple steps to debug an extension.

  • using function wfDebugLog to log message, using the extension name as the group. for example:
wfDebugLog('CategoryWatch', 'loading extension...');
  • enable debug log for the group, bascially the extension name. set the log file name.
# in file LocalSettings.php
$wgDebugLogGroups['CategoryWatch'] = '/path/to/log/mw-categorywatch.log';
  • tail the log file to debug...