Page MenuHomeMiraheze

[MirahezeMagic] Create better CI for MediaWiki standards and security
Open, LowPublic

Description

A better CI should be built for MirahezeMagic to maintain better code quality by using the MediaWiki standards.

Phan (with phan-taint-check-plugin) should be used to check for certain security vulnerabilities.

It should be created so that GitHub actions will automatically commit minor formatting fixes, that the CI can automatically detect and fix. Thus should have no negative effect, since it wouldn't automatically commit anything but formatting issues.

I am working on doing this.

  • Eslint
  • Stylelint
  • PHPCS
  • Phan

Event Timeline

This will actually be one of the last ones I do, as to setup (at least to setup phan) is more difficult as MirahezeMagic uses functions from CreateWiki, CentralAuth, Wikibase, and maybe others, so it requires being able to check all those files as well.