Please remove dupilicated isset($wikiId) as it's already checked