'View and restore deleted pages': posting a new topic, re-sorting, and Edit board actions on a page are present but don't work
Closed, ResolvedPublic

Description

Per @SBisson comment on T113668

One thing I noticed while working on this is that some features of the board are present and enabled but not working: new topic, edit description, sorting

  1. On any page with content in 'View and restore deleted pages, click to edit Board description - it 'silently fails'.
  1. Click on sorting options and click on an available selection - the page starts reloading and never finishes.

While the page is dimmed (reloading), it's still functional - e.g. you can open a topic's permalink

  1. Try to post a new topic - "Exception Caught: Invalid or virtual namespace -1 given."
Etonkovidova updated the task description. (Show Details)
Etonkovidova raised the priority of this task from to Needs Triage.
Etonkovidova added subscribers: Etonkovidova, SBisson.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 28 2015, 10:16 PM
Etonkovidova renamed this task from 'View and restore deleted pages': re-sorting and Edit board actions on a page are present but don't work to 'View and restore deleted pages': posting a new topic, re-sorting, and Edit board actions on a page are present but don't work .Sep 28 2015, 10:17 PM
Etonkovidova updated the task description. (Show Details)
Etonkovidova set Security to None.
SBisson triaged this task as High priority.Sep 29 2015, 3:25 PM
SBisson claimed this task.

Change 242544 had a related patch set uploaded (by Sbisson):
[WIP] Hide actions when viewing a board through Special:Undelete

https://gerrit.wikimedia.org/r/242544

Very likely. I'll test it with my patch once I have fixed the other issues.

Change 242544 merged by jenkins-bot:
Hide actions when viewing a board through Special:Undelete

https://gerrit.wikimedia.org/r/242544

Checked the fix in betalabs.

[FLOW] No topics returned from API [_RecursiveConstructor, Object, true, jQuery.fn.init[1], "window", "< .flow-topics", "flow_topiclist_loop.partial"]

The error appears only after scrolling to the bottom of the page, so T114138: 'View and restore deleted pages' displays 'No topics returned from API' for deleted protected pages is not specific to protected pages. I edited the topic's title accordingly.

Checked the fix in betalabs.

NOTE:
There is the following error for http://en.wikipedia.beta.wmflabs.org/w/index.php?title=Special:Undelete&target=Talk%3AET11&timestamp=20150710225615

[FLOW] No topics returned from API [_RecursiveConstructor, Object, true, jQuery.fn.init[1], "window", "< .flow-topics", "flow_topiclist_loop.partial"]

The error appears only after scrolling to the bottom of the page, so T114138: 'View and restore deleted pages' displays 'No topics returned from API' for deleted protected pages is not specific to protected pages. I edited the topic's title accordingly.

Hah, it looks like the infinite scroll code is trying to load more topics. I'll file a low-prio bug for that, because it's not causing any user-facing problems.