There are a few coding style exclusions that should be fixed in ProofreadPage:
- MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate
- MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected
- MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic
- MediaWiki.Commenting.FunctionComment.MissingParamTag
- MediaWiki.Commenting.FunctionComment.MissingReturn
- MediaWiki.Files.ClassMatchesFilename.NotMatch
- MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment
- PSR12.Properties.ConstantVisibility.NotFound
For each exclusion, remove it from .phpcs.xml and fix the code accordingly so that ./vendor/bin/phpcs runs without error. Each should be submitted as a separate patch to make it easier to review.
Getting Started Resources
- Extension:Proofread_Page https://www.mediawiki.org/wiki/Extension:Proofread_Page (code repository is linked here too!).
- Tutorial on how to use Git, Gerrit and submit a patch https://www.mediawiki.org/wiki/Gerrit/Tutorial
- Tutorial on how to contribute to MediaWiki code and extensions https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker