From 129d23aacc68c6f8c25fa6a47aed7d55b66d7793 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 12 Feb 2012 19:18:36 +0000 Subject: [PATCH] Added missing directories to findHooks.php and missing quote in hooks.txt that made LoginAuthenticateAudit show up as undocumented when running findHooks.php --- docs/hooks.txt | 2 +- maintenance/findHooks.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/hooks.txt b/docs/hooks.txt index 2bc04610c3..e18fa4583f 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -1238,7 +1238,7 @@ $data: Associative array of data for handlers to record. It must include values - 'comment' Wikitext string in the same format as an edit summary - 'timestamp' Timestamp when the action occured -LoginAuthenticateAudit': a login attempt for a valid user account either +'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 $password: the password being submitted and found wanting diff --git a/maintenance/findHooks.php b/maintenance/findHooks.php index 64410a76dc..b8512e55e6 100644 --- a/maintenance/findHooks.php +++ b/maintenance/findHooks.php @@ -63,8 +63,10 @@ class FindHooks extends Maintenance { $IP . '/includes/db/', $IP . '/includes/diff/', $IP . '/includes/filerepo/', + $IP . '/includes/filerepo/file/', $IP . '/includes/installer/', $IP . '/includes/interwiki/', + $IP . '/includes/logging/', $IP . '/includes/media/', $IP . '/includes/parser/', $IP . '/includes/resourceloader/', -- 2.20.1