Various code utilities (like linting, line endings, stylizing, etc)

Clone this repo:

Branches

  1. f9255be build: Updating mediawiki/mediawiki-codesniffer to 45.0.0 by libraryupgrader · 9 weeks ago master
  2. 64a340f extension_survey: add mode for collection service usage by daniel · 6 months ago
  3. 91bac22 Introduce extension_survey.py by daniel · 6 months ago
  4. 4b2e1b3 build: Updating mediawiki/mediawiki-codesniffer to 44.0.0 by libraryupgrader · 5 months ago
  5. ed884fb adding support for skins by Wendy Quarshie · 7 months ago

MediaWiki code-utils

A collections of code utilities for MediaWiki.

Lint and style checks

You can run PHP checks via composer:

composer install
composer test

Shell scripts should be passed through https://www.shellcheck.net/ . You can use the Wikimedia Foundation CI container image:

docker run --rm -it -v "$(pwd):/src" docker-registry.wikimedia.org/releng/shellcheck
  NODES
composer 3
os 3