r46817 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46816‎ | r46817 | r46818 >
Date:21:22, 4 February 2009
Author:werdna
Status:deferred
Tags:
Comment:
Fix examine links in AbuseLog.
Modified paths:
  • /trunk/extensions/AbuseFilter/SpecialAbuseLog.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AbuseFilter/SpecialAbuseLog.php
@@ -185,7 +185,7 @@
186186 $parsed_comments = $wgOut->parseInline( $row->af_public_comments );
187187
188188 if ($this->canSeeDetails()) {
189 - $examineTitle = $this->getTitle( "examine/log/".$row->afl_id );
 189+ $examineTitle = SpecialPage::getTitleFor( 'AbuseFilter', "examine/log/".$row->afl_id );
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

Status & tagging log