Correct wiki url for the api and better ajax error message