From mediawiki.org
Available from version ???
Allows modifying which models a revision should be scored with
Define function:
public static function onORESCheckModels( RecentChange $recentChange, array $models ) { ... }
Attach hook:
$wgHooks['ORESCheckModels'][] = 'MyExtensionHooks::onORESCheckModels';
Called from:File(s): ORES / includes/Hooks/RecentChangeSaveHookHandler.php
Function(s): handle

For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:ORESCheckModels extensions.


  • $rc: A RecentChange object
  • &$models: An array, representing a list of model names to score