Steps to replicate the issue (include links if applicable):
- Make sure the WikimediaDebug extension is installed, but not turned on
- Visit https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Apple
- Turn on WikimediaDebug
- Visit https://api.wikimedia.org/service/linkrecommendation/v1/linkrecommendations/wikipedia/en/Apple again
What happens?:
The first load should show some JSON.
The second load will 301 redirect to https://www.mediawiki.org/wiki/Wikimedia_APIs
Further loads of that URL will have the 301 cached for about an hour.
What should have happened instead?:
No redirect should happen.