The extension allows to perform on-site checks for various issues
- MediaWiki 1.39+
- Clone the extension into the
extensionsdirectory - Add
wfLoadExtension( 'StatusCheck' );to the bottom of your settings file - Configure as required
$wgStatusCheckEmailAddress- receiving email address for email function testing
- Navigate to
Special:StatusCheck - Use
statuscheckAPI endpoint to run checks via API
- Stuck jobs - verifies if there are any jobs with an excessive number of attempts
- File uploads - verifies that files can be uploaded, no file permissions errors in place
- Email sending - verified that email can be sent ( it sends a real email to the address specified in the configuration )
- Composer dependencies - verifies that lock file and dependencies are in sync ( e.g., to catch situations when the wiki was updated but composer packages were not )
- Search engine check - verified that search works and can find some text from the wiki homepage
status-checkpermission allows to use the API and perform checks via Special page, granted tosysopgroup by default
src/Checks/BaseCheck.php- is the base abstract class for creating new Checkssrc/ChecksRunner.php- class performs Checks runssrc/CheckResult.php- class represents result of running a single Check
See bundled checks to learn how to create new ones, e.g.: src/Checks/EmailSendCheck.php