List of steps to reproduce:
- Try obtaining HTML for the following template: https://en.wikipedia.org/w/index.php?title=Template:;
- Open: https://en.wikipedia.org/api/rest_v1/page/html/Template:%3B
What happens?:
Error:
{ "type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request", "method": "get", "detail": "title-invalid-empty", "uri": "/en.wikipedia.org/v1/page/html/Template%3A" }
What should have happened instead?:
HTML should be returned.