Extension:ORES/Hooks/ORESCheckModels
Appearance
From mediawiki.org
| 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
[edit ]$rc: ARecentChangeobject&$models: Anarray, representing a list of model names to score