Index: trunk/extensions/FlaggedRevs/presentation/FlaggedPageView.php |
— | — | @@ -1489,9 +1489,10 @@ |
1490 | 1490 | # Make a link to the full diff-to-stable if: |
1491 | 1491 | # (a) Actual revs are pending and (b) We are not viewing the full diff-to-stable |
1492 | 1492 | if ( $article->revsArePending() && !$fullStableDiff ) { |
1493 | | - $review = $wgUser->getSkin()->makeKnownLinkObj( |
| 1493 | + $review = $wgUser->getSkin()->linkKnown( |
1494 | 1494 | $article->getTitle(), |
1495 | 1495 | wfMsgHtml( 'review-diff2stable' ), |
| 1496 | + array(), |
1496 | 1497 | array( 'oldid' => $srev->getRevId(), 'diff' => 'cur' ) + FlaggedRevs::diffOnlyCGI() |
1497 | 1498 | ); |
1498 | 1499 | $review = wfMsgHtml( 'parentheses', $review ); |
— | — | @@ -1561,9 +1562,11 @@ |
1562 | 1563 | } |
1563 | 1564 | foreach ( $changes as $tuple ) { |
1564 | 1565 | list( $title, $revIdStable, $hasStable ) = $tuple; |
1565 | | - $link = $skin->makeLinkObj( $title, |
| 1566 | + $link = $skin->linkKnown( |
| 1567 | + $title, |
1566 | 1568 | htmlspecialchars( $title->getPrefixedText() ), |
1567 | | - 'diff=cur&oldid=' . (int)$revIdStable ); |
| 1569 | + array(), |
| 1570 | + array( 'diff' => 'cur', 'oldid' => $revIdStable ) ); |
1568 | 1571 | if ( !$hasStable ) { |
1569 | 1572 | $link = "<strong>$link</strong>"; |
1570 | 1573 | } |
— | — | @@ -1586,7 +1589,7 @@ |
1587 | 1590 | foreach ( $changes as $tuple ) { |
1588 | 1591 | list( $title, $revIdStable, $hasStable ) = $tuple; |
1589 | 1592 | // @TODO: change when MW has file diffs |
1590 | | - $link = $skin->makeLinkObj( $title, htmlspecialchars( $title->getPrefixedText() ) ); |
| 1593 | + $link = $skin->link( $title, htmlspecialchars( $title->getPrefixedText() ) ); |
1591 | 1594 | if ( !$hasStable ) { |
1592 | 1595 | $link = "<strong>$link</strong>"; |
1593 | 1596 | } |