path: root/docs
diff options
authorPierre Schmitz <>2015-08-16 08:22:05 +0200
committerPierre Schmitz <>2015-08-16 08:22:05 +0200
commit1a365e77dfb8825136626202b1df462731b42060 (patch)
tree1dc4468eaabf070e051e790a9e67a9a9a2c63d99 /docs
parenta72fd280f7acb4d2a1ba579a0f1b2b2ae8958530 (diff)
Update to MediaWiki 1.25.2
Diffstat (limited to 'docs')
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/hooks.txt b/docs/hooks.txt
index 6f2050cc..e9c0e205 100644
--- a/docs/hooks.txt
+++ b/docs/hooks.txt
@@ -1840,6 +1840,11 @@ $param: Associative Array with the following additional options:
"&lt;div ...>$1&lt;/div>").
- flags Integer display flags (NO_ACTION_LINK,NO_EXTRA_USER_LINKS)
+'LogException': Called before an exception (or PHP error) is logged. This is meant for integration
+with external error aggregation services; returning false will NOT prevent logging.
+$e: The exception (in case of a plain old PHP error, a wrapping ErrorException)
+$suppressed: true if the error was suppressed via error_reporting()/wfSuppressWarnings()
'LoginAuthenticateAudit': A login attempt for a valid user account either
succeeded or failed. No return data is accepted; this hook is for auditing only.
$user: the User object being authenticated against