Index: trunk/phase3/maintenance/findHooks.php |
— | — | @@ -59,6 +59,7 @@ |
60 | 60 | $IP . '/includes/actions/', |
61 | 61 | $IP . '/includes/api/', |
62 | 62 | $IP . '/includes/cache/', |
| 63 | + $IP . '/includes/context/', |
63 | 64 | $IP . '/includes/db/', |
64 | 65 | $IP . '/includes/diff/', |
65 | 66 | $IP . '/includes/filerepo/', |
Index: trunk/phase3/docs/hooks.txt |
— | — | @@ -2164,6 +2164,13 @@ |
2165 | 2165 | &$opts: Options to use for the query |
2166 | 2166 | &$join: Join conditions |
2167 | 2167 | |
| 2168 | +'wfShellMaintenanceCmd': Called when generating a shell-escaped command line |
| 2169 | + string to run a maintenance script. |
| 2170 | +&$script: MediaWiki maintenance script path |
| 2171 | +&$parameters: Array of arguments and options to the script |
| 2172 | +&$options: Associative array of options, may contain the 'php' and 'wrapper' |
| 2173 | + keys |
| 2174 | + |
2168 | 2175 | 'wgQueryPages': called when initialising $wgQueryPages, use this to add new |
2169 | 2176 | query pages to be updated with maintenance/updateSpecialPages.php |
2170 | 2177 | $query: $wgQueryPages itself |