Page MenuHomePhabricator

Special:BlockList gives faulty results after an admin changes another admin's block
Closed, ResolvedPublic

Description

See this thread at Village Pump (technical) where examples are given and the problem confirmed for other users.

If a second admin comes along and modifies an already existing block, Special:BlockList creates a false record with combined details from both admins' blocks. Looks to have become broken in 2014 after the software was updated.

Event Timeline

Isn't just $currentBlock->setBlocker( $performer ); missing in SpecialBlock.php?

Change 546360 had a related patch set uploaded (by Sakretsu; owner: Sakretsu):
[mediawiki/core@master] Update performer when block settings are changed

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

Isn't just $currentBlock->setBlocker( $performer ); missing in SpecialBlock.php?

I believe so.

@Niharika can you confirm that it is Ok to override the original blocker?

Isn't just $currentBlock->setBlocker( $performer ); missing in SpecialBlock.php?

I believe so.

@Niharika can you confirm that it is Ok to override the original blocker?

Ideally this should go through a mini-consensus on the wiki(s) but given that this is a bug as of right now, let's roll with it. If there's pushback, we can rethink this.

Change 546360 merged by jenkins-bot:
[mediawiki/core@master] Update performer when block settings are changed

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