Page MenuHomePhabricator

Allow show/hide of account blocks, temporary blocks and single IP blocks for list=blocks
Closed, ResolvedPublic

Description

The page [[Special:BlockList]] has options for

  • Show/Hide account blocks
  • Show/Hide temporary blocks
  • Show/Hide single IP blocks.

But I have not found api params for that.

Maybe add a bkshow to list=blocks.

Thanks.


Version: 1.18.x
Severity: enhancement

Details

Reference
bz26885

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:20 PM
bzimport set Reference to bz26885.

john wrote:

Added bkshow parameter to ApiQueryBlocks

Could also be made bkhide, having an opposite effect.

attachment b26885.patch ignored as obsolete

(In reply to comment #1)

Could also be made bkhide, having an opposite effect.

Or you are implement it in the same way than list=recentchanges/list=watchlist/list=watchlistraw/prop=categories/list=usercontribs with "!show"

john wrote:

Improved show paramter

Thanks, this version is much better

Attached:

Applied with minor changes in r94416

Thanks!