Index: trunk/phase3/maintenance/findhooks.php |
— | — | @@ -56,11 +56,15 @@ |
57 | 57 | $pathinc = array( |
58 | 58 | $IP . '/', |
59 | 59 | $IP . '/includes/', |
| 60 | + $IP . '/includes/actions/', |
60 | 61 | $IP . '/includes/api/', |
| 62 | + $IP . '/includes/cache/', |
61 | 63 | $IP . '/includes/db/', |
62 | 64 | $IP . '/includes/diff/', |
63 | 65 | $IP . '/includes/filerepo/', |
64 | 66 | $IP . '/includes/installer/', |
| 67 | + $IP . '/includes/interwiki/', |
| 68 | + $IP . '/includes/media/', |
65 | 69 | $IP . '/includes/parser/', |
66 | 70 | $IP . '/includes/resourceloader/', |
67 | 71 | $IP . '/includes/revisiondelete/', |
— | — | @@ -141,7 +145,7 @@ |
142 | 146 | private function getHooksFromFile( $file ) { |
143 | 147 | $content = file_get_contents( $file ); |
144 | 148 | $m = array(); |
145 | | - preg_match_all( '/(wfRunHooks|Hooks\:\:run)\(\s*([\'"])(.*?)\1/', $content, $m ); |
| 149 | + preg_match_all( '/(?:wfRunHooks|Hooks\:\:run)\(\s*([\'"])(.*?)\1/', $content, $m ); |
146 | 150 | return $m[2]; |
147 | 151 | } |
148 | 152 | |