Manual:Hooks/RecentChange save/de-formal

This page is a translated version of the page Manual:Hooks/RecentChange save and the translation is 25% complete.
Available from version 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": "MyExtensionHooks::onRecentChangesave"
Called from: File(s): changes/RecentChange.php
Interface: RecentChange_saveHook.php

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


  • $recentChange: RecentChange object