Page MenuHomePhabricator

Allow local wikis to set & customize a default block expiration length on Special:Block
Closed, InvalidPublic


Similar to T202576:

Give local wiki admins (or editinterface permission holders) the ability to set the default block expiration on Special:Block.

We can also consider to make this more sophisticated, by changing the block length based on other parameters (username, block reason, etc.)

Event Timeline

DannyS712 added subscribers: daniel, DannyS712.

This is already an option. The default for all blocks is set at MediaWiki:ipb-default-expiry. T219126: Create a MediaWiki:ipb-default-expiry-anon for setting default anon. block durations separates this to allow a different default for IP blocks. I'm not sure when the customization was originally added, but the earliest reference was @daniel's commit - see at line 147