Manual:Hooks/RecentChange save/ja

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
RecentChange_save
<translate> Available from <tvar name=1><translate> version <tvar </tvar></translate>
RecentChange::save() の末尾で呼び出される
<translate> Define function:</translate>
public static function onRecentChange_save( RecentChange &$recentChange ) { ... }
<translate> Attach hook:</translate> <translate> In <tvar name=1>extension.json</tvar>:</translate>
{
	"Hooks": {
		"RecentChange_save": "MediaWiki\\Extension\\MyExtension\\Hooks::onRecentChangesave"
	}
}
<translate> Called from:</translate> <translate> File(s):</translate> changes/RecentChange.php
<translate> Interface:</translate> RecentChange_saveHook.php

<translate> For more information about attaching hooks, see <tvar name=1>Manual:フック </tvar>.</translate>
<translate> For examples of extensions using this hook, see <tvar name=cat>Category:RecentChange_save extensions/ja</tvar>.</translate>

詳細

  • $recentChange: RecentChange オブジェクト