Index: trunk/phase3/includes/ChangesList.php |
— | — | @@ -572,14 +572,13 @@ |
573 | 573 | if ( $rc_type != RC_NEW ) { |
574 | 574 | $curLink = $this->message['cur']; |
575 | 575 | } else { |
576 | | - $curUrl = wfUrlencode( wfAppendQuery( $rc->getTitle()->getLinkUrl(), $querycur ) ); |
| 576 | + $curUrl = wfUrlencode( $rc->getTitle()->getLinkUrl( $querycur ) ); |
577 | 577 | $curLink = "<a href=\"$curUrl\" tabindex=\"{$baseRC->counter}\">{$this->message['cur']}</a>"; |
578 | 578 | } |
579 | 579 | $diffLink = $this->message['diff']; |
580 | 580 | } else { |
581 | | - $url = $rc->getTitle()->getLinkUrl(); |
582 | | - $diffUrl = wfUrlencode( wfAppendQuery( $url, $querydiff ) ); |
583 | | - $curUrl = wfUrlencode( wfAppendQuery( $url, $querycur ) ); |
| 581 | + $diffUrl = wfUrlencode( $rc->getTitle()->getLinkUrl( $querydiff ) ); |
| 582 | + $curUrl = wfUrlencode( $rc->getTitle()->getLinkUrl( $querycur ) ); |
584 | 583 | $diffLink = "<a href=\"$diffUrl\" tabindex=\"{$baseRC->counter}\">{$this->message['diff']}</a>"; |
585 | 584 | $curLink = "<a href=\"$curUrl\" tabindex=\"{$baseRC->counter}\">{$this->message['cur']}</a>"; |
586 | 585 | } |