r46821 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46820‎ | r46821 | r46822 >
Date:22:16, 4 February 2009
Author:werdna
Status:deferred
Tags:
Comment:
Whitespace
Modified paths:
  • /trunk/extensions/AbuseFilter/SpecialAbuseLog.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AbuseFilter/SpecialAbuseLog.php
@@ -169,7 +169,7 @@
170170 $timestamp = $wgLang->timeanddate( $row->afl_timestamp );
171171
172172 $actions_taken = $row->afl_actions;
173 - if (!strlen(trim($actions_taken))) {
 173+ if ( !strlen( trim( $actions_taken) ) ) {
174174 $actions_taken = wfMsg( 'abusefilter-log-noactions' );
175175 } else {
176176 $actions = explode(',', $actions_taken);
@@ -189,7 +189,8 @@
190190 $detailsLink = $sk->makeKnownLinkObj( $this->getTitle( ), wfMsg( 'abusefilter-log-detailslink' ), 'details='.$row->afl_id );
191191 $examineLink = $sk->link( $examineTitle, wfMsgExt( 'abusefilter-changeslist-examine', 'parseinline' ), array() );
192192
193 - $description = wfMsgExt( 'abusefilter-log-detailedentry', array( 'parseinline', 'replaceafter' ), array( $timestamp, $user, $row->afl_filter, $row->afl_action, $sk->makeKnownLinkObj( $title ), $actions_taken, $parsed_comments, $detailsLink, $examineLink ) );
 193+ $description = wfMsgExt( 'abusefilter-log-detailedentry', array( 'parseinline', 'replaceafter' ),
 194+ array( $timestamp, $user, $row->afl_filter, $row->afl_action, $sk->makeKnownLinkObj( $title ), $actions_taken, $parsed_comments, $detailsLink, $examineLink ) );
194195 } else {
195196 $description = wfMsgExt( 'abusefilter-log-entry', array( 'parseinline', 'replaceafter' ), array( $timestamp, $user, $row->afl_action, $sk->makeKnownLinkObj( $title ), $actions_taken, $parsed_comments ) );
196197 }

Status & tagging log