r49222 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49221‎ | r49222 | r49223 >
Date:19:17, 5 April 2009
Author:aaron
Status:ok (Comments)
Tags:
Comment:
(bug 18346) Automatically hide RC log items on block too
Modified paths:
  • /trunk/phase3/includes/specials/SpecialBlockip.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialBlockip.php
@@ -526,6 +526,8 @@
527527 # Hide name from RC
528528 $dbw->update( 'recentchanges', array("rc_deleted = rc_deleted $op $delUser"),
529529 array('rc_user_text' => $name), __METHOD__ );
 530+ $dbw->update( 'recentchanges', array("rc_deleted = rc_deleted $op $delAction"),
 531+ array('rc_namespace' => NS_USER, 'rc_title' => $userDbKey, 'rc_logid > 0'), __METHOD__ );
530532 # Hide name from live images
531533 $dbw->update( 'oldimage', array("oi_deleted = oi_deleted $op $delUser"),
532534 array('oi_user_text' => $name), __METHOD__ );

Follow-up revisions

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

Comments

#Comment by Werdna (talk | contribs)   04:53, 6 April 2009

Live-merged.

Status & tagging log