r36435 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r36434‎ | r36435 | r36436 >
Date:22:21, 18 June 2008
Author:demon
Status:old
Tags:
Comment:
Redirects in logs, rc, etc. should have mw-redirect applied.
Modified paths:
  • /trunk/phase3/includes/ChangesList.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ChangesList.php
@@ -121,7 +121,7 @@
122122
123123 # "[[x]] moved to [[y]]"
124124 $msg = ( $rc->mAttribs['rc_type'] == RC_MOVE ) ? '1movedto2' : '1movedto2_redir';
125 - $s .= wfMsg( $msg, $this->skin->makeKnownLinkObj( $rc->getTitle(), '', 'redirect=no' ),
 125+ $s .= wfMsg( $msg, $this->skin->makeKnownLinkObj( $rc->getTitle(), '', 'redirect=no', '', '', '', 'class="mw-redirect"' ),
126126 $this->skin->makeKnownLinkObj( $rc->getMovedToTitle(), '' ) );
127127 }
128128

Status & tagging log