static function getHashPathForLevel($name, $levels) { global $wgContLang; $bits = explode(':', $name); $filename = $bits[count($bits) - 1]; $path = parent::getHashPathForLevel($filename, $levels); return count($bits) > 1 ? $wgContLang->getNsIndex($bits[0]) . '/' . $path : $path; }