Index: trunk/phase3/includes/specials/SpecialContributions.php |
— | — | @@ -109,8 +109,7 @@ |
110 | 110 | } |
111 | 111 | |
112 | 112 | |
113 | | - # If there were contributions, and it was a valid user or IP, show |
114 | | - # the appropriate "footer" message - WHOIS tools, etc. |
| 113 | + # Show the appropriate "footer" message - WHOIS tools, etc. |
115 | 114 | if( $target != 'newbies' ) { |
116 | 115 | $message = IP::isIPAddress( $target ) ? |
117 | 116 | 'sp-contributions-footer-anon' : 'sp-contributions-footer'; |
— | — | @@ -174,7 +173,7 @@ |
175 | 174 | # Other logs link |
176 | 175 | $tools[] = $sk->linkKnown( |
177 | 176 | SpecialPage::getTitleFor( 'Log' ), |
178 | | - wfMsg( 'sp-contributions-logs' ), |
| 177 | + wfMsgHtml( 'sp-contributions-logs' ), |
179 | 178 | array(), |
180 | 179 | array( 'user' => $nt->getText() ) |
181 | 180 | ); |
— | — | @@ -219,7 +218,7 @@ |
220 | 219 | protected function getForm() { |
221 | 220 | global $wgScript; |
222 | 221 | |
223 | | - $this->opts['title'] = SpecialPage::getTitleFor( 'Contributions' )->getPrefixedText(); |
| 222 | + $this->opts['title'] = $this->getTitle()->getPrefixedText(); |
224 | 223 | if( !isset( $this->opts['target'] ) ) { |
225 | 224 | $this->opts['target'] = ''; |
226 | 225 | } else { |
— | — | @@ -263,7 +262,7 @@ |
264 | 263 | |
265 | 264 | $f .= '<fieldset>' . |
266 | 265 | Xml::element( 'legend', array(), wfMsg( 'sp-contributions-search' ) ) . |
267 | | - Xml::radioLabel( wfMsgExt( 'sp-contributions-newbies', array( 'parseinline' ) ), |
| 266 | + Xml::radioLabel( wfMsgExt( 'sp-contributions-newbies', array( 'parsemag' ) ), |
268 | 267 | 'contribs', 'newbie' , 'newbie', $this->opts['contribs'] == 'newbie' ? true : false ) . '<br />' . |
269 | 268 | Xml::radioLabel( wfMsgExt( 'sp-contributions-username', array( 'parsemag' ) ), |
270 | 269 | 'contribs' , 'user', 'user', $this->opts['contribs'] == 'user' ? true : false ) . ' ' . |