Manual:Hooks/RecentChange save/ko
Appearance
| RecentChange_save | |
|---|---|
| Available from 버전 1.8.0 called at the end of RecentChange::save() | |
| Define function: | public static function onRecentChange_save( RecentChange &$recentChange ) { ... }
|
| Attach hook: | In extension.json:
{
"Hooks": {
"RecentChange_save": "MediaWiki\\Extension\\MyExtension\\Hooks::onRecentChangesave"
}
}
|
| Called from: | File(s): RecentChanges/RecentChangeStore.php |
| Interface: | RecentChange_saveHook.php |
For more information about attaching hooks, see 메뉴얼:훅.
For examples of extensions using this hook, see Category:RecentChange_save extensions/ko.
Hook to run once something is published to RecentChanges. This includes things published to "irc" RC feeds which might not be included in normal RecentChanges.
Details
- $recentChange: RecentChange object