Steps to reproduce:
- Load https://www.mediawiki.org/wiki/Special:Upload.
- Select input field //Destination filename://.
- Insert :w:
- Press tab.
Actual result:
- The spinner does not stop.
- In the JavaScript console the error TypeError: result.query.pages is undefined occurs.
The API request https://www.mediawiki.org/w/api.php?action=query&format=json&formatversion=2&titles=W%3A&prop=imageinfo&iiprop=uploadwarning returns
{ "batchcomplete": true, "query": { "normalized": [ { "fromencoded": false, "from": "W:", "to": "w:" } ], "interwiki": [ { "title": "w:", "iw": "w" } ] } }
The expected key query.pages is missing in the response.