build: Updating eslint-config-wikimedia to 0.28.0

Change-Id: Iab9922b95a0dc22e1d6d84d4ce8a0eac5c0b5317
2 files changed
tree: a6492b3fc5d022230aa46de08c4110091c6b0a81
  1. assets/
  2. i18n/
  3. src/
  4. .editorconfig
  5. .eslintrc.json
  6. .gitignore
  7. .gitreview
  8. .phpcs.xml
  9. CODE_OF_CONDUCT.md
  10. composer.json
  11. extension.json
  12. Gruntfile.js
  13. LICENSE
  14. package-lock.json
  15. package.json
  16. README.md
README.md

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...