Last modified: 2014-08-15 12:02:04 UTC
When I visit http://en.wikipedia.beta.wmflabs.org/wiki/Talk:NonexistentPage the page makes a failing API call http://en.wikipedia.beta.wmflabs.org/w/api.php?action=articlefeedbackv5-get-count&format=json&pageid=0&filter=* With ?debug=1, the JS console logs: mw.Api error: nosuchpageid Object { code="nosuchpageid", info="There is no page with ID 0"} AFTv5 is asking for the feedback count for the article whose talk page this is, but the article doesn't exist so its page ID is 0. Various parts of the AFTv5 codebase could be aware that pageID == 0 means no page, so don't bother for its feedback. (It seems includes/api/ApiBase.php actually queries the 'page' DB table to look up page_id 0, I'll file a separate bug.) This happens for real on beta labs when we enable Flow on a talk page such as Talk:Flow and don't create the page for it. But it's not a Flow bug. Maybe there's a bug that AFTv5 ought not to run at all if a page is a Flow board, but the logic seems sound: this is the talk page for a page for which AFTv5 is enabled, and AFTv5 intentionally asks for a count of feedback for that page.
See bug 61163 about removing AFTv5 from all wikis.
(In reply to comment #0) > (It seems includes/api/ApiBase.php actually queries the 'page' DB > table to look up page_id 0, I'll file a separate bug.) I filed bug 61166.