When performing a suppression, the suppression is logged in the private suppression log. As a private log, the details of who has taken which action is hidden unless you hold the suppressionlog user right.
However, this information is leaked via the mediawiki.revision-visibility-change stream on EventStreams.
To reproduce
- Connect to https://stream.wikimedia.org/v2/stream/mediawiki.revision-visibility-change (a simple web browser is sufficient, this isn't a particularly busy stream; I've tried with my main browser session and an incognito session)
- Find a revision on-wiki and perform a suppression. I used revision 1162662753 on enwiki - an edit to my sandbox performed by my unprivileged alternate account. I suppressed the username, content, and edit summary.
- Observe the logged event in EventStreams.
Log entry
- 2023-07-22T12:06:18 Stwalkerster talk contribs block secretly changed visibility of a revision on page User:Stwalkerster/sandbox: content hidden, edit summary hidden, username hidden and applied restrictions to administrators (eventstream test) (diff | more...)
EventStreams event
event: message id: [{"topic":"eqiad.mediawiki.revision-visibility-change","partition":0,"timestamp":1690027578001},{"topic":"codfw.mediawiki.revision-visibility-change","partition":0,"offset":-1}] data: {"$schema":"/mediawiki/revision/visibility-change/1.0.0","meta":{"uri":"https://en.wikipedia.org/wiki/User:Stwalkerster/sandbox","request_id":"c460f22b-5d7c-4ee0-8dad-3f7c7d015c9a","id":"82449ea9-7b82-40b2-9a9b-805c39dca04c","dt":"2023-07-22T12:06:18Z","domain":"en.wikipedia.org","stream":"mediawiki.revision-visibility-change","topic":"eqiad.mediawiki.revision-visibility-change","partition":0,"offset":3308835},"database":"enwiki","page_id":59627106,"page_title":"User:Stwalkerster/sandbox","page_namespace":2,"rev_id":1162662753,"rev_timestamp":"2023-06-30T12:59:10Z","rev_sha1":"4292lewtdik0m6tvywke8dwkw0szt2j","rev_minor_edit":false,"rev_len":3912,"rev_content_model":"wikitext","rev_content_format":"text/x-wiki","performer":{"user_text":"Stwalkerster","user_groups":["abusefilter","checkuser","suppress","sysop","*","user","autoconfirmed"],"user_is_bot":false,"user_id":851859,"user_registration_dt":"2006-01-28T22:30:11Z","user_edit_count":22062},"page_is_redirect":false,"rev_parent_id":1143033150,"visibility":{"text":false,"user":false,"comment":false},"prior_state":{"visibility":{"text":true,"user":true,"comment":true}}}
Formatted for readability:
{ "$schema": "/mediawiki/revision/visibility-change/1.0.0", "meta": { "uri": "https://en.wikipedia.org/wiki/User:Stwalkerster/sandbox", "request_id": "c460f22b-5d7c-4ee0-8dad-3f7c7d015c9a", "id": "82449ea9-7b82-40b2-9a9b-805c39dca04c", "dt": "2023-07-22T12:06:18Z", "domain": "en.wikipedia.org", "stream": "mediawiki.revision-visibility-change", "topic": "eqiad.mediawiki.revision-visibility-change", "partition": 0, "offset": 3308835 }, "database": "enwiki", "page_id": 59627106, "page_title": "User:Stwalkerster/sandbox", "page_namespace": 2, "rev_id": 1162662753, "rev_timestamp": "2023-06-30T12:59:10Z", "rev_sha1": "4292lewtdik0m6tvywke8dwkw0szt2j", "rev_minor_edit": false, "rev_len": 3912, "rev_content_model": "wikitext", "rev_content_format": "text/x-wiki", "performer": { "user_text": "Stwalkerster", "user_groups": [ "abusefilter", "checkuser", "suppress", "sysop", "*", "user", "autoconfirmed" ], "user_is_bot": false, "user_id": 851859, "user_registration_dt": "2006-01-28T22:30:11Z", "user_edit_count": 22062 }, "page_is_redirect": false, "rev_parent_id": 1143033150, "visibility": { "text": false, "user": false, "comment": false }, "prior_state": { "visibility": { "text": true, "user": true, "comment": true } } }
The entire performer section reveals who performed the suppression even though this information isn't available without special permissions within MediaWiki itself.
This information *is* available for revision deletions, and as such it *should* be shown when a standard revision deletion is performed. It should not be shown when a suppression is performed.