Movatterモバイル変換


[0]ホーム

URL:


Jump to content
MediaWiki
Search

Manual:Hooks/GetLogTypesOnUser

From mediawiki.org
<Manual:Hooks
GetLogTypesOnUser
Available fromversion 1.23.0
Add log types where the target is a userpage
Define function:
publicstaticfunctiononGetLogTypesOnUser(&$types){...}
Attach hook:Inextension.json:
{"Hooks":{"GetLogTypesOnUser":"MediaWiki\\Extension\\MyExtension\\Hooks::onGetLogTypesOnUser"}}
Called from:File(s):specials/SpecialLog.php
Interface:GetLogTypesOnUserHook.php

For more information about attaching hooks, seeManual:Hooks.
For examples of extensions using this hook, seeCategory:GetLogTypesOnUser extensions.


Details

[edit]
  • &$types: Array of log types
Retrieved from "https://www.mediawiki.org/w/index.php?title=Manual:Hooks/GetLogTypesOnUser&oldid=3520238"
Categories:

[8]ページ先頭

©2009-2025 Movatter.jp