Movatterモバイル変換


[0]ホーム

URL:


Jump to content
MediaWiki
Search

Extension:AbuseFilter/Hooks/AbuseFilterCustomProtectedVariables

From mediawiki.org
<Extension:AbuseFilter
AbuseFilterCustomProtectedVariables
Available from version 1.44 (Gerrit change Ie0a58b7f15158332c6fa26ba3dcd5bdca0bddab0)
Allows specifying custom protected variables. Variables still need to be defined using theAbuseFilter-builder hook
Define function:
publicstaticfunctiononAbuseFilterCustomProtectedVariables(array&$variables){...}
Attach hook:
$wgHooks['AbuseFilterCustomProtectedVariables'][]='MyExtensionHooks::onAbuseFilterCustomProtectedVariables';
Called from:
File(s):AbuseFilter /

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

Callers should append variables to$variables that should be considered protected variables.

Arguments

[edit]
  • &$variables: A list of variables that should be protected variables
Retrieved from "https://www.mediawiki.org/w/index.php?title=Extension:AbuseFilter/Hooks/AbuseFilterCustomProtectedVariables&oldid=7698813"
Categories:

[8]ページ先頭

©2009-2025 Movatter.jp