Page MenuHomePhabricator

Log entry comment deletion through RevisionDelete doesn't affect CentralAuth and API
Open, Needs TriagePublic

Description

Ruwiki admin Wanderer blocked himself, insulting ruwiki community in "explanation" log field [1]. This explanation was hidden [2] by other admin, but it still visible on CentralAuth special page [3] and API query "list=blocks" [4] used by ruwiki script [5] that strikes nicknames of blocked users on talk pages and displays a tooltip with block parameters on hover on that nickname.

image.png (56×505 px, 7 KB)
Hiding an action comment should hide it from CentralAuth and API too.

[1]: https://ru.wikipedia.org/wiki/Special:Contributions/Wanderer777
[2]: https://ru.wikipedia.org/wiki/Special:Log?type=delete&user=&page=&wpdate=&tagfilter=&subtype=event
[3]: https://ru.wikipedia.org/wiki/Special:CentralAuth/Wanderer777
[4]: https://ru.wikipedia.org/w/api.php?action=query&format=xml&list=blocks&bkusers=Wanderer777&bkprop=user%7Ctimestamp%7Cexpiry%7Creason%7Cflags%7Cby
[5]: https://ru.wikipedia.org/wiki/MediaWiki:Gadget-markblocked.js

Event Timeline

It's not only the comment actually, even the username (when it's hidden)

Umherirrender subscribed.

The log is only the protocol of the action. Hiding the log comment does not hide the reason on the action. See T19053 for similar issues.

When the block is a suppression block than CentralAuth, Api and the special page reflects that:

https://ru.wikipedia.org/wiki/%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F:%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%B1%D0%BB%D0%BE%D0%BA%D0%B8%D1%80%D0%BE%D0%B2%D0%BE%D0%BA?wpTarget=Wanderer777&blockType=&limit=50&wpFormIdentifier=blocklist

Remove the block and add a new one or just reblock and try to change the reason.