Page MenuHomePhabricator

"Prevent logged-in users from editing from this IP address" option is visible on Special:Block with accounts
Closed, DuplicatePublic

Description

It seems to have started over the last week (according to others I've talked to), but I noticed that when using Special:Block to apply a block to an account, the "Prevent logged-in users from editing from this IP address" option is visible when it should not be. If you click in the form and try to input a block duration into the text input box, the option disappears as soon as you try to do so.

After the block is set on an account (even one that I blocked for only one minute and with all options un-ticked - see image), returning to Special:Block to change the block settings will display that same option, and the option will be ticked as enabled.

It seems to just be a UI thing; I don't notice any impact on the blocks themselves and IP / IP range blocks remain unaffected since the option is supposed to be available with them.

Steps to reproduce:

  1. Simply navigate to https://en.wikipedia.org/wiki/Special:Block/Oshwah-TEST
  2. Set a block duration (the option disappears). Block the test account as usual (feel free to block my Oshwah-TEST account; it's completely fine).
  3. Return to Special:Block/Oshwah-TEST


After opening Special:Block.


After setting a block duration and the option disappears.


After applying a block and returning to the block form.