diff --git a/README.md b/README.md index 62cd889..1e515c5 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,27 @@ # CategoryWatch +Main development Git repository: https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/CategoryWatch + +Mirror in GitHub: https://github.com/seanchen/CategoryWatch + MediaWiki extension CategoryWatch, https://www.mediawiki.org/wiki/Extension:CategoryWatch -Fork from commit 4ad0f63: +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: ```php wfDebugLog('CategoryWatch', 'loading extension...'); ``` * enable debug log for the group, bascially the extension name. set the log file name. ```php # in file LocalSettings.php $wgDebugLogGroups['CategoryWatch'] = '/path/to/log/mw-categorywatch.log'; ``` * tail the log file to debug...