$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__
);
$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