Remove useless if check in Wiki resource