Jump to content

Manual:Hooks/RecentChange save/pl

From mediawiki.org
This page is a translated version of the page Manual:Hooks/RecentChange save and the translation is 17% complete.
RecentChange_save
Available from version 1.8.0
called at the end of RecentChange::save()
Zdefiniuj funkcję:
public static function onRecentChange_save( RecentChange &$recentChange ) { ... }
Dołącz hak: W extension.json:
{
	"Hooks": {
		"RecentChange_save": "MediaWiki\\Extension\\MyExtension\\Hooks::onRecentChangesave"
	}
}
Called from: Plik(i): changes/RecentChange.php
Interface: RecentChange_saveHook.php

For more information about attaching hooks, see Podręcznik:Haki .
For examples of extensions using this hook, see Category:RecentChange_save extensions/pl.

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.

Szczegóły

  • $recentChange: RecentChange object

See also