Index: trunk/phase3/includes/specials/SpecialNewpages.php |
— | — | @@ -239,7 +239,8 @@ |
240 | 240 | |
241 | 241 | $title = Title::makeTitleSafe( $result->rc_namespace, $result->rc_title ); |
242 | 242 | $time = $wgLang->timeAndDate( $result->rc_timestamp, true ); |
243 | | - $plink = $this->skin->makeKnownLinkObj( $title, '', $this->patrollable( $result ) ? 'rcid=' . $result->rc_id : '' ); |
| 243 | + $query = $this->patrollable( $result ) ? "rcid={$result->rc_id}&redirect=no" : 'redirect=no'; |
| 244 | + $plink = $this->skin->makeKnownLinkObj( $title, '', $query ); |
244 | 245 | $hist = $this->skin->makeKnownLinkObj( $title, wfMsgHtml( 'hist' ), 'action=history' ); |
245 | 246 | $length = wfMsgExt( 'nbytes', array( 'parsemag', 'escape' ), |
246 | 247 | $wgLang->formatNum( $result->length ) ); |