r91391 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91390‎ | r91391 | r91392 >
Date:03:51, 4 July 2011
Author:aaron
Status:ok
Tags:
Comment:
Use newer linkKnown() function
Modified paths:
  • /trunk/extensions/FlaggedRevs/presentation/FlaggedRevsLogView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/presentation/FlaggedRevsLogView.php
@@ -110,10 +110,11 @@
111111 ? 'review-logentry-diff2' // unreviewed
112112 : 'review-logentry-diff'; // reviewed
113113 $links .= '(';
114 - $links .= $wgUser->getSkin()->makeKnownLinkObj(
 114+ $links .= $wgUser->getSkin()->linkKnown(
115115 $title,
116116 wfMsgHtml( $msg ),
117 - "oldid={$oldStable}&diff={$revId}"
 117+ array(),
 118+ array( 'oldid' => $oldStable, 'diff' => $revId )
118119 );
119120 $links .= ')';
120121 }
@@ -123,9 +124,10 @@
124125 : $params[2];
125126 $time = $wgLang->timeanddate( $ts, true );
126127 $links .= ' (';
127 - $links .= $wgUser->getSkin()->makeKnownLinkObj(
 128+ $links .= $wgUser->getSkin()->linkKnown(
128129 $title,
129130 wfMsgHtml( 'review-logentry-id', $revId, $time ),
 131+ array(),
130132 array( 'oldid' => $revId, 'diff' => 'prev' ) + FlaggedRevs::diffOnlyCGI()
131133 );
132134 $links .= ')';

Status & tagging log