* Substitute {{REVISIONID}} correctly in diff display
* (bug 4090) Fix diff links in Special:Recentchangeslinked
* (bug 4093) '&bot=1' in Special:Contributions now propagate to other links
+* Fix display of old recentchanges records for page moves
+
=== Caveats ===
}
- function insertMove(&$s) {
+ function insertMove( &$s, $rc ) {
# Diff
$s .= '(' . $this->message['diff'] . ') (';
# Hist
') . . ';
# "[[x]] moved to [[y]]"
- $msg = ( $rc_type == RC_MOVE ) ? '1movedto2' : '1movedto2_redir';
+ $msg = ( $rc->mAttribs['rc_type'] == RC_MOVE ) ? '1movedto2' : '1movedto2_redir';
$s .= wfMsg( $msg, $this->skin->makeKnownLinkObj( $rc->getTitle(), '', 'redirect=no' ),
$this->skin->makeKnownLinkObj( $rc->getMovedToTitle(), '' ) );
}
// moved pages
if ( $rc_type == RC_MOVE || $rc_type == RC_MOVE_OVER_REDIRECT ) {
- $this->insertMove($s);
+ $this->insertMove( $s, $rc );
// log entries
} elseif( $rc_namespace == NS_SPECIAL && preg_match( '!^Log/(.*)$!', $rc_title, $matches ) ) {
$this->insertLog($s, $rc->getTitle(), $matches[1]);