list=blocks omits "cannot edit own talk page" flag
Closed, ResolvedPublic

Description

The query http://en.wikipedia.org/w/api.php?action=query&list=blocks&bkusers=Trollymomo produces the following output:

<block id="1216890" user="Trollymomo" by="J.delanoy" timestamp="2008-11-16T02:22:22Z" expiry="infinity" reason="abuse of talk page" nocreate="" autoblock="" />

If we were to look up this user in [[Special:Ipblocklist]] (http://en.wikipedia.org/w/index.php?title=Special%3AIPBlockList&ip=Trollymomo) we would get:

  • 11:22, 16 November 2008, J.delanoy (Talk | contribs) blocked Trollymomo (Talk | contribs) (no expiry set, account creation blocked, cannot edit own talk page) (abuse of talk page)

The API query neglects to mention that the user cannot edit it's own talk page.


Version: 1.14.x
Severity: minor
URL: http://en.wikipedia.org/w/api.php?action=query&list=blocks&bkusers=Trollymomo

bzimport added a project: MediaWiki-API.Via ConduitNov 21 2014, 10:29 PM
bzimport set Reference to bz16367.
MER-C created this task.Via LegacyNov 17 2008, 8:52 AM
Catrope added a comment.Via ConduitNov 18 2008, 3:15 PM

Fixed in r43676, albeit slightly different than requested: the allowusertalk="" flag is set if the blocked user *can* edit their own talk page; if they *can't*, no flag will be set because that's the default.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.