TODO
- Introduction to the extension
- Usage documentation
- Installation
- Configuration
- Development
- Release notes
Get professional support for this extension via Professional Wiki, its creators and maintainers. We provide MediaWiki Development, MediaWiki Hosting, and MediaWiki Consulting services.
Run composer install
in extensions/Rules/
to make the code quality tools available.
You can use the Makefile
by running make commands in the Rules
directory.
Commands to run in a MediaWiki environment/container:
make
ormake ci
: Run everythingmake test
: Run all PHP testsmake phpunit --filter FooBar
: run only PHPUnit tests with FooBar in their namemake cs
: Run PHP style checks and static analysismake phpcs
: Run PHP style checksmake stan
: Run PHP static analysismake stan-baseline
: Update the PHPStan baseline file (which contains errors we wish to ignore)
Commands that use Docker:
make lint
Lint JS, CSS, and i18n filesmake js
Run all JS checks
- WIP