bug 28578 was for action=parse, but action=expandtemplates does the same.
When action=expandtemplates receives an invalid title input, it defaults to "API"
This can be seen at http://en.wikipedia.org/w/api.php?action=expandtemplates&title=[a&text={{PAGENAME}}.
This behavior is unexpected and wrong. The api should die on invalid titles, see r88468.
Thanks.
Version: 1.20.x
Severity: normal