Index: trunk/phase3/includes/specials/SpecialDeletedContributions.php |
— | — | @@ -285,7 +285,7 @@ |
286 | 286 | |
287 | 287 | $pager = new DeletedContribsPager( $target, $options['namespace'] ); |
288 | 288 | if ( !$pager->getNumRows() ) { |
289 | | - $wgOut->addWikiText( wfMsg( 'nocontribs' ) ); |
| 289 | + $wgOut->addWikiMsg( 'nocontribs' ); |
290 | 290 | return; |
291 | 291 | } |
292 | 292 | |
— | — | @@ -308,9 +308,7 @@ |
309 | 309 | |
310 | 310 | $text = wfMsgNoTrans( $message, $target ); |
311 | 311 | if( !wfEmptyMsg( $message, $text ) && $text != '-' ) { |
312 | | - $wgOut->addHTML( '<div class="mw-contributions-footer">' ); |
313 | | - $wgOut->addWikiText( $text ); |
314 | | - $wgOut->addHTML( '</div>' ); |
| 312 | + $wgOut->wrapWikiMsg( "<div class='mw-contributions-footer'>\n$1\n</div>", array( $message, $target ) ); |
315 | 313 | } |
316 | 314 | } |
317 | 315 | } |
Index: trunk/phase3/includes/specials/SpecialLinkSearch.php |
— | — | @@ -48,7 +48,7 @@ |
49 | 49 | |
50 | 50 | $self = Title::makeTitle( NS_SPECIAL, 'Linksearch' ); |
51 | 51 | |
52 | | - $wgOut->addWikiText( wfMsg( 'linksearch-text', '<nowiki>' . $wgLang->commaList( $wgUrlProtocols) . '</nowiki>' ) ); |
| 52 | + $wgOut->addWikiMsg( 'linksearch-text', '<nowiki>' . $wgLang->commaList( $wgUrlProtocols ) . '</nowiki>' ); |
53 | 53 | $s = Xml::openElement( 'form', array( 'id' => 'mw-linksearch-form', 'method' => 'get', 'action' => $GLOBALS['wgScript'] ) ) . |
54 | 54 | Xml::hidden( 'title', $self->getPrefixedDbKey() ) . |
55 | 55 | '<fieldset>' . |
— | — | @@ -164,7 +164,7 @@ |
165 | 165 | global $wgOut; |
166 | 166 | list( $this->mMungedQuery, $clause ) = LinkSearchPage::mungeQuery( $this->mQuery, $this->mProt ); |
167 | 167 | if( $this->mMungedQuery === false ) { |
168 | | - $wgOut->addWikiText( wfMsg( 'linksearch-error' ) ); |
| 168 | + $wgOut->addWikiMsg( 'linksearch-error' ); |
169 | 169 | } else { |
170 | 170 | // For debugging |
171 | 171 | // Generates invalid xhtml with patterns that contain -- |