Fixed error checking in _wiki_request