Fix Wiki API URL handling in backend