Page MenuHomePhabricator

Protected edits should be tagged
Closed, ResolvedPublicFeature

Description

Feature summary (what you would like to be able to do and where):

It would be convenient to be able to extract edits to a page that were made during the page was (semi-)protected. [[mw:Manual:Tags]] seems like a natural choice as a way to mark such edits.

Different communities would want different levels of protection to be tagged. It would make sense to have that configurable.

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):

I would like to be able to quickly check my past actions as an administrator and other administrators' past actions. Edits made to a page during the page is protected can be considered admin actions. I don't think there is an easy way to do list protected edits. At least Special:RecentChanges or Special:Log don't seem to support that.

If there is a dedicated tag for protected edits, I would be able to filter Special:MyContributions (or RecentChanges) with that tag to see the list of my protected edits in the past.

Benefits (why should this be implemented?):
This will

  • help the community to audit actions of admins and users with other special accesses more easily (most of admin actions can be audited with Special:Log but not protected edits)
  • help the community to assess admin (in)activity more easily and accurately

The scope could perhaps be broader (e.g. to log all actions and sort them with user rights like 'editinterface', 'editprotected' that have enabled particular actions), but I fear that might be too complex. Just logging protected edits would be good enough.

Event Timeline

whym updated the task description. (Show Details)

This could probably be accomplished pretty easily with abuse filter(s), using page_restrictions_edit at mw:Extension:AbuseFilter/Rules format § Built-in variables. See enwiki's filter 942 for a working example; the filter could simply be imported and set to tag.

However apparently this does not work with cascading protection per T216827.

whym claimed this task.

page_restrictions_edit

You are right. That seems to work for my needs.

I'll close this but if someone else wants it where AbuseFilter is not available, feel free to re-open.