despens added a comment.
Apparently, `normalizePageName` in `MediaWikiSite` doesn't follow redirects. `MediaWikiSite` writes this error log:
2015-03-03 23:42:47 catalog wiki: call to <//catalog.rhizome.org/api.php?action=query&prop=info&redirects=1&converttitles=1&format=json&titles=Delocator.net> returned bad json: <html> <head> <title>Security redirect</title> </head> <body> <h1>Security redirect</h1> <p> We can't serve non-HTML content from the URL you have requested, because Internet Explorer would interpret it as an incorrect and potentially dangerous content type.</p> <p>Instead, please use <a href="https://catalog.rhizome.org/api.php?action=query&prop=info&redirects=1&converttitles=1&format=json&titles=Delocator.net&*">this URL</a>, which is the same as the URL you have requested, except that "&*" is appended. This prevents Internet Explorer from seeing a bogus file extension. </p> </body> </html>
When appending `&:*` to the original API request in `includes/site/MediaWikiSite.php:136`, like this:
$url = wfAppendQuery( $this->getFileUrl( 'api.php' ), $args ). '&*';
the request works and `normalizePageName` returns a valid page name.
TASK DETAIL https://phabricator.wikimedia.org/T91439
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: despens Cc: pywikipedia-bugs, Aklapper, despens, Wikidata-bugs, jayvdb, Anomie, Legoktm