aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorEvan Prodromou <evanprodromou@users.mediawiki.org>2004-11-28 07:06:25 +0000
committerEvan Prodromou <evanprodromou@users.mediawiki.org>2004-11-28 07:06:25 +0000
commitbd8995d35ec99c5bec62eb59ada2fd7df4a0e19b (patch)
tree49b43c792dcd72b632fe4249e828280d38d415b4 /docs
parentf2b7dcc7b1774c0fcdcd1bb008b972941dc6f67f (diff)
downloadmediawikicore-bd8995d35ec99c5bec62eb59ada2fd7df4a0e19b.tar.gz
mediawikicore-bd8995d35ec99c5bec62eb59ada2fd7df4a0e19b.zip
Added "unknown action" event, so that extensions can define new
actions and handle them. Documented in hooks.doc, but not really appropriate for the Syslog extension, so ignored.
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6416
Diffstat (limited to 'docs')
-rw-r--r--docs/hooks.doc5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/hooks.doc b/docs/hooks.doc
index d140e24e3bef..34cd050b1a93 100644
--- a/docs/hooks.doc
+++ b/docs/hooks.doc
@@ -276,6 +276,11 @@ $user: the user _doing_ the block (not the one being blocked)
$block: the Block object that was saved
$user: the user who did the block (not the one being blocked)
+'UnknownAction': An unknown "action" has occured (useful for defining
+ your own actions)
+$action: action name
+$article: article "acted on"
+
'UserLoginComplete': after a user has logged in
$user: the user object that was created on login