XZise added a comment.
Ah newer versions of MediaWiki apparently throw an error actively:
* [[http://en.wikipedia.org/w/api.php?action=query&list=allpages&apnames...]] on enwp * [[http://wiki.kerbalspaceprogram.com/w/api.php?action=query&list=allpages&...]] on a 1.21 wiki
I haven't actually checked if at some point it'll return pages from the namespace 4 or if that values is ignored (although the OP indicates that it is ignored). Just to be clear, I was using the 1.21 wiki when I executed above command.
TASK DETAIL https://phabricator.wikimedia.org/T76794
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: XZise Cc: Aklapper, XZise, Mpaa, jayvdb, pywikipedia-bugs