Manual:Hooks/RecentChange save

From MediaWiki.org
Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎日本語 • ‎polski • ‎中文
RecentChange_save
Available from version 1.8.0
called at the end of RecentChange::save()
Define function:
public static function onRecentChange_save( &$recentChange ) { ... }
Attach hook:
$wgHooks['RecentChange_save'][] = 'MyExtensionHooks::onRecentChange_save';
Called from: File(s): RecentChange.php

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

Details[edit]

  • $recentChange: RecentChange object