dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Update wikimedia/timestamp to v2.2.0"
[lhc/web/wiklou.git]
/
maintenance
/
findHooks.php
diff --git
a/maintenance/findHooks.php
b/maintenance/findHooks.php
index
04c00e2
..
ebb1f26
100644
(file)
--- a/
maintenance/findHooks.php
+++ b/
maintenance/findHooks.php
@@
-217,7
+217,7
@@
class FindHooks extends Maintenance {
$retval = [];
while ( true ) {
$json = Http::get(
$retval = [];
while ( true ) {
$json = Http::get(
- wfAppendQuery( 'http://www.mediawiki.org/w/api.php', $params ),
+ wfAppendQuery( 'http
s
://www.mediawiki.org/w/api.php', $params ),
[],
__METHOD__
);
[],
__METHOD__
);
@@
-245,7
+245,7
@@
class FindHooks extends Maintenance {
$m = [];
preg_match_all(
// All functions which runs hooks
$m = [];
preg_match_all(
// All functions which runs hooks
- '/(?:wfRunHooks|Hooks\:\:run)\s*\(\s*' .
+ '/(?:wfRunHooks|Hooks\:\:run
|Hooks\:\:runWithoutAbort
)\s*\(\s*' .
// First argument is the hook name as string
'([\'"])(.*?)\1' .
// Comma for second argument
// First argument is the hook name as string
'([\'"])(.*?)\1' .
// Comma for second argument