From e56682b64780efd317fe7af695bbb18a26759699 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Sun, 5 Jul 2009 11:59:22 +0000 Subject: [PATCH] Small fixes --- includes/specials/SpecialContributions.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index cc2fc19fe9..8956535a2e 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -109,8 +109,7 @@ class SpecialContributions extends SpecialPage { } - # If there were contributions, and it was a valid user or IP, show - # the appropriate "footer" message - WHOIS tools, etc. + # Show the appropriate "footer" message - WHOIS tools, etc. if( $target != 'newbies' ) { $message = IP::isIPAddress( $target ) ? 'sp-contributions-footer-anon' : 'sp-contributions-footer'; @@ -174,7 +173,7 @@ class SpecialContributions extends SpecialPage { # Other logs link $tools[] = $sk->linkKnown( SpecialPage::getTitleFor( 'Log' ), - wfMsg( 'sp-contributions-logs' ), + wfMsgHtml( 'sp-contributions-logs' ), array(), array( 'user' => $nt->getText() ) ); @@ -219,7 +218,7 @@ class SpecialContributions extends SpecialPage { protected function getForm() { global $wgScript; - $this->opts['title'] = SpecialPage::getTitleFor( 'Contributions' )->getPrefixedText(); + $this->opts['title'] = $this->getTitle()->getPrefixedText(); if( !isset( $this->opts['target'] ) ) { $this->opts['target'] = ''; } else { @@ -263,7 +262,7 @@ class SpecialContributions extends SpecialPage { $f .= '
' . Xml::element( 'legend', array(), wfMsg( 'sp-contributions-search' ) ) . - Xml::radioLabel( wfMsgExt( 'sp-contributions-newbies', array( 'parseinline' ) ), + Xml::radioLabel( wfMsgExt( 'sp-contributions-newbies', array( 'parsemag' ) ), 'contribs', 'newbie' , 'newbie', $this->opts['contribs'] == 'newbie' ? true : false ) . '
' . Xml::radioLabel( wfMsgExt( 'sp-contributions-username', array( 'parsemag' ) ), 'contribs' , 'user', 'user', $this->opts['contribs'] == 'user' ? true : false ) . ' ' . -- 2.20.1