r98696 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98695‎ | r98696 | r98697 >
Date:17:36, 2 October 2011
Author:ialex
Status:ok
Tags:
Comment:
Added missing directory to findHooks.php and a missing hook in hooks.txt
Modified paths:
  • /trunk/phase3/docs/hooks.txt (modified) (history)
  • /trunk/phase3/maintenance/findHooks.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/findHooks.php
@@ -59,6 +59,7 @@
6060 $IP . '/includes/actions/',
6161 $IP . '/includes/api/',
6262 $IP . '/includes/cache/',
 63+ $IP . '/includes/context/',
6364 $IP . '/includes/db/',
6465 $IP . '/includes/diff/',
6566 $IP . '/includes/filerepo/',
Index: trunk/phase3/docs/hooks.txt
@@ -2164,6 +2164,13 @@
21652165 &$opts: Options to use for the query
21662166 &$join: Join conditions
21672167
 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+
21682175 'wgQueryPages': called when initialising $wgQueryPages, use this to add new
21692176 query pages to be updated with maintenance/updateSpecialPages.php
21702177 $query: $wgQueryPages itself

Status & tagging log