Page MenuHomePhabricator

InvestigateBlock does not allow many custom options
Closed, ResolvedPublic

Description

Having tried out Special:InvestigateBlock, while it is more convenient than using CheckUser and blocking from there, there are some options that should be introduced to the interface.

  • Changing block times: IP block times seem to default to a week without an option to change it. While that is usually okay (and I would be happy with a default being in place), I would've liked to change the duration. I assume that blocks for accounts default to indefinite?
  • No "soft"/"hard" block options: I could not enable account creation (rare usecase, to be fair) and I could not make an IP block apply to accounts too.

I wanted to conclude this by saying that I appreciate the intentions with which this was made. Mine are probably rare-ish usecases. Thanks!

Event Timeline

This is similar to T18306: Allow user to specify block settings from CU form but instead is relevant to the Special:InvestigateBlock page instead of the 'Get users' block form.

Hi! I'm interested in doing a patch for this task. Is this still wanted by the CheckUser team? Is there anything else I need to do besides adding two form fields and adjusting the tests for them?

Hi! I'm interested in doing a patch for this task. Is this still wanted by the CheckUser team? Is there anything else I need to do besides adding two form fields and adjusting the tests for them?

Hi! Thanks for your interest in the task. I believe this is still wanted and my understanding of the task is what you have put.

Feel free to make a patch and tag myself to get code review. Thanks

Change #1255971 had a related patch set uploaded (by Pskyechology; author: Pskyechology):

[mediawiki/extensions/CheckUser@master] InvestigateBlock: Add Expiry, HardBlock, and DisableAccountCreation fields

https://gerrit.wikimedia.org/r/1255971

Pskyechology changed the task status from Open to In Progress.Mar 20 2026, 4:49 AM
Pskyechology claimed this task.

Only took a bit of procrastination to get going. Any fixes based on reviews should come faster :p

Change #1255971 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] InvestigateBlock: Add Expiry, HardBlock, and DisableAccountCreation fields

https://gerrit.wikimedia.org/r/1255971