Page MenuHomePhabricator

PageTriage: 'Mark for deletion' gives "Failed to notify author on talk page" for user with flow-enabled User talk page.
Closed, ResolvedPublic

Description

  1. A user with flow-enabled User talk page creates a page.
  2. Reviewer clicks 'Mark for deletion' via Special:NewPagesFeed -> Curation toolbar
  3. "Failed to notify author on talk page" is displayed, but the action is correctly done and a proper Notification is recieved.

The problem with "Failed to notify author on talk page" is that the Curation toolbar gives no indication that the 'Mark for deletion' action is, in fact, completed. It is still displayed with open 'Mark for deletion' options.

Screen Shot 2016-02-16 at 11.03.09 AM.png (480×973 px, 277 KB)

Event Timeline

Etonkovidova raised the priority of this task from to Needs Triage.
Etonkovidova updated the task description. (Show Details)

I strongly suspect this happens because PageCuration tries to edit the user's talk page and chokes on the fact that it's not a wikitext page. @Mattflaschen , you wrote a JS API for posting to a user talk page, is there one in PHP too?

I strongly suspect this happens because PageCuration tries to edit the user's talk page and chokes on the fact that it's not a wikitext page. @Mattflaschen , you wrote a JS API for posting to a user talk page, is there one in PHP too?

No, but there is a task for it, T123522: Implement a server-side mw.MessagePoster equivalent.

Re-checked in betalabs and closed as Resolved. The scenario described in the ticket works without giving any warnings/errors. The Notification is sent, and correct the message is placed on the user talk page (Flow board page).