Last modified: 2008-11-18 15:15:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T18367, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16367 - list=blocks omits "cannot edit own talk page" flag
list=blocks omits "cannot edit own talk page" flag
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.14.x
All All
: Normal minor (vote)
: ---
Assigned To: Roan Kattouw
http://en.wikipedia.org/w/api.php?act...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-11-17 08:52 UTC by MER-C
Modified: 2008-11-18 15:15 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description MER-C 2008-11-17 08:52:31 UTC
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.
Comment 1 Roan Kattouw 2008-11-18 15:15:10 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links