format as designed. Documentation comments updated.
* (bug 1423) LanguageJa.php update
* Clean up duplicate code for selection of changeslist style
+* (bug 3475) anon contrib links on Special:Newpages
=== Caveats ===
$length = wfMsg( 'nbytes', $wgLang->formatNum( $result->length ) );
if ( $u == 0 ) { # not by a logged-in user
- $ul = $ut;
- }
- else {
- $ul = $skin->makeLink( $wgContLang->getNsText(NS_USER) . ":{$ut}", $ut );
+ $userPage = Title::makeTitle( NS_SPECIAL, 'Contributions' );
+ $linkParams = 'target=' . urlencode( $ut );
+ } else {
+ $userPage = Title::makeTitle( NS_USER, $ut );
+ $linkParams = '';
}
+ $ul = $skin->makeLinkObj( $userPage, htmlspecialchars( $ut ), $linkParams );
$d = $wgLang->timeanddate( $result->timestamp, true );