По сути $APPLICATION->IncludeAdminFile имеет ту же область видимости что и функция в которой его вызываю, но в самом файле переменную не видит.
wget --quiet --mirror --convert-links --no-host-directories --no-parent --recursive --level=5 --execute robots=off --reject xml,json --base=https://api.jquery.com/ --directory-prefix=pages