r49191 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49190‎ | r49191 | r49192 >
Date:01:32, 5 April 2009
Author:aaron
Status:ok
Tags:
Comment:
setUsernameBitfields() should skip suppress log items
Modified paths:
  • /trunk/phase3/includes/specials/SpecialBlockip.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialBlockip.php
@@ -521,7 +521,8 @@
522522 $dbw->update( 'logging', array("log_deleted = log_deleted $op $delUser"),
523523 array('log_user' => $userId), __METHOD__ );
524524 $dbw->update( 'logging', array("log_deleted = log_deleted $op $delAction"),
525 - array('log_namespace' => NS_USER, 'log_title' => $userDbKey), __METHOD__ );
 525+ array('log_namespace' => NS_USER, 'log_title' => $userDbKey,
 526+ "log_type != 'suppress'"), __METHOD__ );
526527 # Hide name from RC
527528 $dbw->update( 'recentchanges', array("rc_deleted = rc_deleted $op $delUser"),
528529 array('rc_user_text' => $name), __METHOD__ );

Follow-up revisions

RevisionCommit summaryAuthorDate
r49192Follow-up to r49191: Same thing but where the log is by an Oversighter.aaron02:02, 5 April 2009
r50162Backports for the hide user feature:...tstarling07:58, 4 May 2009

Status & tagging log