Steps to replicate the issue (include links if applicable):
- Fetch https://en.wikipedia.org/w/rest.php/attribution/v0-beta/pages/Einstein/signals?redirect=true
What happens?:
- The endpoint redirects to https://en.wikipedia.org/w/rest.php/pages/Albert_Einstein/signals?redirect=no
- Note the missing /attribution/v0-beta prefix for the module
What should have happened instead?:
We should have had a true redirect from Einstein to Albert_Einstein, and the new link should have been: https://en.wikipedia.org/w/rest.php/attribution/v0-beta/pages/Albert_Einstein/signals?redirect=true
I am not sure if this is happening as part of the REST Module issue (is it ignoring the module prefix?) or a missing definition/wrong way to do it in-code. The code to handle redirects was copied/utilized from other REST handlers, but those handlers are in core, where the module wasn't defined, so it *may* have obscured this bug.
... or it might have been a missing extra definition in the specific Attribution Handler.