Page MenuHomePhabricator

Special:Mute: TransactionProfiler warnings created when muting or unmuting a user
Closed, ResolvedPublic

Description

Summary

Special:Mute is not marked as performing writes, so causes TransactionProfiler warnings when a user mutes or unmutes another user

Background

  • Example logstash log showing this issue
  • Special pages need to be marked as performing writes otherwise they are marked as nonwrite-POST for the TransactionProfiler
    • Marking the special page as performing writes should fix the TransactionProfiler warnings seen for this special page

Acceptance criteria

  • TransactionProfiler warnings are no longer created when using Special:Mute

Details

Event Timeline

Change #1246258 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/core@master] Specials: Declare that Special:Mute does writes

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

Change #1246258 merged by jenkins-bot:

[mediawiki/core@master] Specials: Declare that Special:Mute does writes

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

Umherirrender claimed this task.
Umherirrender removed a project: Patch-For-Review.