Redirects in logs, rc, etc. should have mw-redirect applied.
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 18 Jun 2008 22:21:21 +0000 (22:21 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 18 Jun 2008 22:21:21 +0000 (22:21 +0000)
includes/ChangesList.php

index 436f006..ba7710e 100644 (file)
@@ -121,7 +121,7 @@ class ChangesList {
 
                # "[[x]] moved to [[y]]"
                $msg = ( $rc->mAttribs['rc_type'] == RC_MOVE ) ? '1movedto2' : '1movedto2_redir';
-               $s .= wfMsg( $msg, $this->skin->makeKnownLinkObj( $rc->getTitle(), '', 'redirect=no' ),
+               $s .= wfMsg( $msg, $this->skin->makeKnownLinkObj( $rc->getTitle(), '', 'redirect=no', '', '', '', 'class="mw-redirect"' ),
                        $this->skin->makeKnownLinkObj( $rc->getMovedToTitle(), '' ) );
        }