Page MenuHomePhabricator

[wmf.22-regression] Cannot set filters on Special:NewPages Feed for 'Articles for Creation' - 'All' state option
Closed, ResolvedPublicBUG REPORT


Steps to Reproduce:

  1. Go to Special:NewPagesFeed and switch to 'Articles for Creation"
  2. Under 'State' tupe of filters click on 'All' (all other options can be left un-selected).

Actual Results:
(1) The page never finishes loading (and when 'Set filters' button is clicked - several spinning circles are displayed):

Screen Shot 2020-03-09 at 5.10.13 PM.png (623×1 px, 288 KB)

(2) The Console displays two errors:
Uncaught TypeError: Cannot read property 'pages' of undefined
referring to

parse: function(response) {
	this.moreToLoad = !1;
	if (response.pagetriagelist.pages && response.pagetriagelist.pages.length > this.apiParams.limit) {
		this.moreToLoad = !0;

Uncaught TypeError: Cannot read property 'stats' of undefined

Expected Results:

  • any combination of filters should display some result page (or inform that there are no results)
  • no errors in the Console