Last modified: 2013-07-10 05:13:52 UTC
Only articles (NS_MAIN pages) are supposed to be returned, but this is no longer enforced.
Confirmed, you can see this if you look for the recentchanges tag and other namespaces. Like: https://en.wikipedia.org/w/index.php?title=User:Dita823/DalesBus&action=history This is obviously rare, but we should add an explicit main NS check.
Change 72872 had a related patch set uploaded by Mattflaschen: Check namespace in isAppropriateArticle. https://gerrit.wikimedia.org/r/72872
Change 72872 merged by jenkins-bot: Check namespace in isAllowedArticle. https://gerrit.wikimedia.org/r/72872
The previously linked patch was tested, verified on labs, and merged. Thanks for the quick fix Matt!