From: Niklas Laxström Date: Sun, 5 Jul 2009 11:59:22 +0000 (+0000) Subject: Small fixes X-Git-Tag: 1.31.0-rc.0~41104 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=e56682b64780efd317fe7af695bbb18a26759699;p=lhc%2Fweb%2Fwiklou.git Small fixes --- 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 ) . ' ' .