Author: nicdumz
Please see this unblock log entry for an example.
{ "query": { "logevents": [ { "logid": 20891507, "ns": 2, "title": "User:#1338201", "pageid": 0, "logpage": 0, "params": {}, "type": "block", "action": "unblock", "user": "Mangojuice", "timestamp": "2009-03-04T00:35:07Z", "comment": "[[Wikipedia:Autoblock|Autoblock]] of [[User talk:<username>|<username>]]" } ] } }
title="User:#1338201" gives the impression that it is a Mediawiki Page Title, but is in fact invalid...
In fact, the related sql entry in the logging table stores log_title as "#1338201"; I don't see why the title is prefixed by "User:"?! (Well, since log_ns is always equal to NS_USER for these entries, a Title object created from log_ns & log_title is likely to end up in User space, true...) Can this be avoided ?
Also, since title parameter (with or without User: prefix) should not be interpreted as a Page title, would it be possible to add a specific details field in the returned data to emphasize this?
autoblock="" ? flags="autoblock" ? (As of now, flags are unused for action="unblock")
Thanks!
Version: unspecified
Severity: enhancement