Added missing directory to findHooks.php and a missing hook in hooks.txt
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 2 Oct 2011 17:36:19 +0000 (17:36 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 2 Oct 2011 17:36:19 +0000 (17:36 +0000)
docs/hooks.txt
maintenance/findHooks.php

index 72a8e55..a434eb3 100644 (file)
@@ -2164,6 +2164,13 @@ One, and only one hook should set this, and return false.
 &$opts: Options to use for the query
 &$join: Join conditions
 
+'wfShellMaintenanceCmd': Called when generating a shell-escaped command line
+       string to run a maintenance script.
+&$script: MediaWiki maintenance script path
+&$parameters: Array of arguments and options to the script
+&$options: Associative array of options, may contain the 'php' and 'wrapper'
+       keys
+
 'wgQueryPages': called when initialising $wgQueryPages, use this to add new
 query pages to be updated with maintenance/updateSpecialPages.php
 $query: $wgQueryPages itself
index 5996fd3..9c9cc74 100644 (file)
@@ -59,6 +59,7 @@ class FindHooks extends Maintenance {
                        $IP . '/includes/actions/',
                        $IP . '/includes/api/',
                        $IP . '/includes/cache/',
+                       $IP . '/includes/context/',
                        $IP . '/includes/db/',
                        $IP . '/includes/diff/',
                        $IP . '/includes/filerepo/',