Page MenuHomeMiraheze

[GlobalNewFiles] Create better CI for MediaWiki standards and security
Closed, ResolvedPublic

Description

A better CI should be built for GlobalNewFiles 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.

  • PHPCS
  • Phan

https://github.com/miraheze/GlobalNewFiles/pull/19

Event Timeline

Universal_Omega created this task.
Universal_Omega moved this task from Backlog to Short Term on the MediaWiki (SRE) board.
Universal_Omega moved this task from Unsorted to Goals on the Universal Omega board.

Just to note, while it's not a huge deal for GlobalNewFiles since it requires CreateWiki, which is not much used externally, Phan did catch an error which would've caused the updater to fatal.

Universal_Omega updated the task description. (Show Details)