On Tue, Dec 9, 2014 at 2:33 PM, Risker <risker.wp(a)gmail.com> wrote:
Thanks, Dan... I was going to ask about that, too. I
don't understand well
enough what is and isn't visible in the API, but I will say that if the API
is linking an action (i.e., suppression) to a user (i.e. the specific
oversighter) I *do* have a problem with it; we've had experience in the
past with people actively harassing oversighters because of legitimate
suppressions they've carried out, and perhaps this is exactly how they've
found out it was Oversighter A who did that particular suppression.
No, that's not what this is about.
Consider a log entry such as (taken from my local test wiki):
13:33, 5 December 2014 Anomie (talk | contribs) deleted page
MediaWiki:Revdelete-hide-name (Use default message)
In the API, that information is represented like this:
{
"logid": 2412,
"action": "delete",
"ns": 8,
"title": "MediaWiki:Revdelete-hide-name",
"pageid": 0,
"logpage": 1016,
"type": "delete",
"user": "Anomie",
"timestamp": "2014-12-05T18:33:23Z",
"comment": "Use default message"
},
If someone does a RevDel on that log entry and chooses the poorly-described
"Hide action and target" checkbox, the log entry is now displayed like this:
13:33, 5 December 2014 Anomie (talk | contribs) (log details removed) (Use
default message)
And in the API (before T74222 and after the proposed revert), we get the
following information:
{
"logid": 2412,
"actionhidden": "",
"type": "delete",
"action": "delete",
"user": "Anomie",
"timestamp": "2014-12-05T18:33:23Z",
"comment": "Use default message"
},
All this mess is because someone noticed that the poorly-described checkbox
says "Hide action" but the API was still reporting that the subtype (here
named 'action') is "delete" (versus "restore",
"revision", etc).
--
Brad Jorsch (Anomie)
Software Engineer
Wikimedia Foundation