Extension:ORES/Hooks/ORESCheckModels

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
ORESCheckModels
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.

Parameters

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