Use $wgContLang and an anonymous user in refreshLinks.php to parse pages.