Previously, it was possible to access the api via urls like:
* https://en.wikipedia.org/w/api.php/Some_text_here?action=query&titles=... * https://www.wikidata.org/w/api.php/ (Plus some POST data) etc.
Due to a security issue in certain browsers, we are no longer allowing any text to be between "api.php" and the ?. If anything is there you will get a 301 redirect to the url with the extraneous text removed.
Hopefully this doesn't cause any inconvenience to anyone.
Sincerely, Brian Wolff