Steps to replicate the issue (include links if applicable):
- Install AutoModerator
- Use default settings, including on wiki config settings
- Attempt editing a page
What happens?:
MediaWiki\Config\ConfigException: MediaWiki\Config\GlobalVarConfig::get: undefined option: 'OresModels'
What should have happened instead?:
Page editing should work.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
It seems the ORES extension is not a hard requirement and there are checks for that. But there are also attempts to access the config values before the existence checks.