r86409 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86408‎ | r86409 | r86410 >
Date:16:04, 19 April 2011
Author:happy-melon
Status:ok (Comments)
Tags:
Comment:
(bug 28352) "blocked admins actually can't unblock themselves because it checks the wrong parameter". This doesn't need to be forward-ported as the entire blocking frontend is rewritten in 1.18.
Modified paths:
  • /branches/REL1_17/phase3/includes/specials/SpecialIpblocklist.php (modified) (history)

Diff [purge]

Index: branches/REL1_17/phase3/includes/specials/SpecialIpblocklist.php
@@ -77,7 +77,7 @@
7878 $block = Block::newFromID( $this->id );
7979 $user = User::newFromName( $block->mAddress );
8080 } else {
81 - $user = User::newFromName( $ip );
 81+ $user = User::newFromName( $this->ip );
8282 }
8383 $status = IPBlockForm::checkUnblockSelf( $user );
8484 if ( $status !== true ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r873531.17wmf1: MFT r85546, r86409, r86450, r86625, r86788, r86805, r86841, r86904,...catrope20:27, 3 May 2011

Comments

#Comment by contribs)   21:27, 2 May 2011

Adding 1.17wmf1 tag per BugTriage of Mon, April 18 2011:

http://bugzilla.wikimedia.org/28352
: Highest NEW self unblock with username does not work under 1.17
 * User having user right unblockself cannot unblock himself on wmf wikis.
 * Apparently fixed in trunk.
 * In which rev? If we know the rev we can merge it :)
 * mark will track down the revie

Status & tagging log

  • 20:33, 3 May 2011 contribs) changed the tags for r86409 [removed: 1.17wmf1]
  • 21:27, 2 May 2011 contribs) changed the tags for r86409 [added: 1.17wmf1]
  • 12:39, 20 April 2011 contribs) changed the tags for r86409 [removed: 1.17]
  • 16:26, 19 April 2011 contribs) changed the tags for r86409 [added: 1.17]
  • 16:26, 19 April 2011 contribs) changed the status of r86409 [removed: new added: ok]

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant