Manual:Hooks/RecentChange save

This page is a translated version of the page Manual:Hooks/RecentChange save and the translation is 67% complete.
RecentChange_save
Erhältlich ab Version 1.8.0
aufgerufen am Ende von RecentChange::save()
Funktion definieren:
public static function onRecentChange_save( RecentChange &$recentChange ) { ... }
Haken anbringen: In extension.json:
{
	"Hooks": {
		"RecentChange_save": "MediaWiki\\Extension\\MyExtension\\Hooks::onRecentChangesave"
	}
}
Angerufen von: Datei(en): changes/RecentChange.php
Interface: RecentChange_saveHook.php

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

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-Objekt

See also