* Cleaned SpecialContributions a bit
* Added a table to track interlanguage links
* (bug 5544) Fix redirect arrow in Special:Listredirects for right-to-left languages
+* Replace "doubleredirectsarrow" with a content language check that picks the appropriate arrow
== Compatibility ==
}
function formatResult( $skin, $result ) {
+ global $wgContLang;
+
$fname = 'DoubleRedirectsPage::formatResult';
$titleA = Title::makeTitle( $result->namespace, $result->title );
$edit = $skin->makeBrokenLinkObj( $titleA, "(".wfMsg("qbedit").")" , 'redirect=no');
$linkB = $skin->makeKnownLinkObj( $titleB, '', 'redirect=no' );
$linkC = $skin->makeKnownLinkObj( $titleC );
+ $arr = $wgContLang->isRTL() ? '←' : '→';
- return "$linkA $edit " . wfMsgHtml( 'doubleredirectsarrow' )
- . " $linkB " . wfMsgHtml( 'doubleredirectsarrow' ) . " $linkC";
+ return( "{$linkA} {$edit} {$arr} {$linkB} {$arr} {$linkC}" );
}
}