X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FfindHooks.php;h=ebb1f26c17f8aab04375dc2193fedd0edb04d34a;hb=08a0bec2c20f5a40459a51a1254912b78321c3c1;hp=04c00e27f1855aa6cfc21786d2662b43a50729ce;hpb=16c80e429be5904fb42a93f260f8de3d18f0c692;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/findHooks.php b/maintenance/findHooks.php index 04c00e27f1..ebb1f26c17 100644 --- a/maintenance/findHooks.php +++ b/maintenance/findHooks.php @@ -217,7 +217,7 @@ class FindHooks extends Maintenance { $retval = []; while ( true ) { $json = Http::get( - wfAppendQuery( 'http://www.mediawiki.org/w/api.php', $params ), + wfAppendQuery( 'https://www.mediawiki.org/w/api.php', $params ), [], __METHOD__ ); @@ -245,7 +245,7 @@ class FindHooks extends Maintenance { $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