Page MenuHomePhabricator

Add a note on Special:Block if the account is already globally locked
Closed, ResolvedPublic

Description

Please add a similar note to Special:Block if the account ist yet globally locked or make it impossible to block/submit (to avoid doubled work), like it is done for blocked users with "$1 is already blocked. Do you want to change the settings?".

Kind regards
DerHexer


Version: unspecified
Severity: normal

Details

Reference
bz20188

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:57 PM
bzimport set Reference to bz20188.
bzimport added a subscriber: Unknown Object (MLST).

mike.lifeguard+bugs wrote:

Surely the local project has the right to block locked accounts... what if the account is unlocked but the project wants the user blocked? Adding a note is the correct thing to do here.

mike.lifeguard+bugs wrote:

reverting component change: This is about *L*ocked accounts... I'll open another one for IP blocks

Who ever will fix this bug: The new hook 'getOtherBlockLogLink' should be useful (introduced in r58192 and used for GlobalBlocking and TorBlock).

Gerrit change 30929 - unfortunately I don't know how to add a link to the log because there doesn't appear to be any easy way to work out which wiki the user was locked from. It does say the user is locked on the block form if the target user is attached on this wiki and locked, however.

Merged by Hoo man.

After some discussion in MediaWiki-General we decided to change the message shown to include a link to Special:CentralAuth - Gerrit change 31587