Page MenuHomePhabricator

Notify to last user is not suppressed when rollback are made via API
Open, MediumPublicBUG REPORT

Description

When we doing rollback, MediaWiki generates a default summary:

Reverted edits by UserName (talk) to last version by UserName2

But in some wikis (nlwiki) summary by default is another:

Reverted edits by UserName (talk) to last version by [[user:UserName2|UserName2]]

When we doing rollback via site, ping to user UserName2 is suppressed, but If we do it via API, user receives ping.

See discussion: nlwiki => metawiki. I tested it in the Sandbox. Code of my tool is very simple:

$params = ['action' => 'rollback', 'title' => $page, 'user' => $user, 'token' => $token, 'utf8' => '1', 'format' => 'json'];
$client->makeOAuthCall($accessToken, $apiUrl, true, $params);

Event Timeline

Iluvatar renamed this task from Notify last user when rollback are made via API to Notify to last user is not suppressed when rollback are made via API.Apr 24 2021, 2:27 PM
kostajh changed the subtype of this task from "Task" to "Bug Report".May 4 2021, 1:53 PM
kostajh moved this task from Inbox to Triaged on the Growth-Team board.
kostajh triaged this task as Medium priority.May 4 2021, 1:57 PM