replaced old wiki api implementation with a better one