MediaWiki r9861 - Code Review

Jump to: navigation, search
Repository:MediaWiki
Revision:r9860‎ | r9861 (on ViewVC)‎ | r9862 >
Date:07:16, 3 July 2005
Author:vibber
Status:old
Tags:
Comment:
really fix that enhanced rc changes link
Modified paths:

Diff [purge]

Index: trunk/phase3/includes/ChangesList.php
@@ -122,7 +122,7 @@
123123 $userlinks = array () ;
124124 foreach ( $block AS $rcObj ) {
125125 $oldid = $rcObj->mAttribs['rc_last_oldid'];
126 - $newid = $rcObj->mAttribs['rc_this_oldid'];
 126+ $newid = $rcObj->mAttribs['rc_this_oldid'];
127127 if ( $rcObj->mAttribs['rc_new'] ) {
128128 $isnew = true ;
129129 }
@@ -172,12 +172,13 @@
173173 $r .= $link ;
174174
175175 $curIdEq = 'curid=' . $block[0]->mAttribs['rc_cur_id'];
 176+ $currentRevision = $block[0]->mAttribs['rc_this_oldid'];
176177 if ( $block[0]->mAttribs['rc_type'] != RC_LOG ) {
177178 # Changes
178179 $r .= ' ('.count($block).' ' ;
179180 if ( $isnew ) $r .= wfMsg('changes');
180181 else $r .= $this->skin->makeKnownLinkObj( $block[0]->getTitle() , wfMsg('changes') ,
181 - $curIdEq."&diff=$newid&oldid=$oldid" ) ;
 182+ $curIdEq."&diff=$currentRevision&oldid=$oldid" ) ;
182183 $r .= '; ' ;
183184
184185 # History

Status & tagging log

  • 15:03, 12 September 2011 Meno25 (Talk | contribs) changed the status of r9861 [removed: ok added: old]
  • 14:05, 18 June 2009 ^demon (Talk | contribs) changed the status of r9861 [removed: new added: ok]
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Support
Download
Development
Communication
Toolbox