r49192 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49191‎ | r49192 | r49193 >
Date:02:02, 5 April 2009
Author:aaron
Status:ok
Tags:
Comment:
Follow-up to r49191: Same thing but where the log is by an Oversighter.
Modified paths:
  • /trunk/phase3/includes/specials/SpecialBlockip.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialBlockip.php
@@ -519,7 +519,7 @@
520520 array('ar_user_text' => $userId), __METHOD__ );
521521 # Hide name from logs
522522 $dbw->update( 'logging', array("log_deleted = log_deleted $op $delUser"),
523 - array('log_user' => $userId), __METHOD__ );
 523+ array('log_user' => $userId, "log_type != 'suppress'"), __METHOD__ );
524524 $dbw->update( 'logging', array("log_deleted = log_deleted $op $delAction"),
525525 array('log_namespace' => NS_USER, 'log_title' => $userDbKey,
526526 "log_type != 'suppress'"), __METHOD__ );

Follow-up revisions

RevisionCommit summaryAuthorDate
r50162Backports for the hide user feature:...tstarling07:58, 4 May 2009

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r49191setUsernameBitfields() should skip suppress log itemsaaron01:32, 5 April 2009

Status & tagging log