From 3fbca542c9366a6ba6ec89cb7ef59458ea7f452f Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 2 Oct 2011 17:36:19 +0000 Subject: [PATCH] Added missing directory to findHooks.php and a missing hook in hooks.txt --- docs/hooks.txt | 7 +++++++ maintenance/findHooks.php | 1 + 2 files changed, 8 insertions(+) diff --git a/docs/hooks.txt b/docs/hooks.txt index 72a8e55282..a434eb33f7 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -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 diff --git a/maintenance/findHooks.php b/maintenance/findHooks.php index 5996fd3a5b..9c9cc74284 100644 --- a/maintenance/findHooks.php +++ b/maintenance/findHooks.php @@ -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/', -- 2.20.1