| Index: trunk/phase3/includes/specials/SpecialLinkSearch.php |
| — | — | @@ -88,13 +88,13 @@ |
| 89 | 89 | $s = Xml::openElement( 'form', array( 'id' => 'mw-linksearch-form', 'method' => 'get', 'action' => $GLOBALS['wgScript'] ) ) . |
| 90 | 90 | Html::hidden( 'title', $this->getTitle()->getPrefixedDbKey() ) . |
| 91 | 91 | '<fieldset>' . |
| 92 | | - Xml::element( 'legend', array(), wfMsg( 'linksearch' ) ) . |
| 93 | | - Xml::inputLabel( wfMsg( 'linksearch-pat' ), 'target', 'target', 50, $target ) . ' '; |
| | 92 | + Xml::element( 'legend', array(), $this->msg( 'linksearch' )->text() ) . |
| | 93 | + Xml::inputLabel( $this->msg( 'linksearch-pat' )->text(), 'target', 'target', 50, $target ) . ' '; |
| 94 | 94 | if ( !$wgMiserMode ) { |
| 95 | | - $s .= Xml::label( wfMsg( 'linksearch-ns' ), 'namespace' ) . ' ' . |
| | 95 | + $s .= Xml::label( $this->msg( 'linksearch-ns' )->text(), 'namespace' ) . ' ' . |
| 96 | 96 | Xml::namespaceSelector( $namespace, '' ); |
| 97 | 97 | } |
| 98 | | - $s .= Xml::submitButton( wfMsg( 'linksearch-ok' ) ) . |
| | 98 | + $s .= Xml::submitButton( $this->msg( 'linksearch-ok' )->text() ) . |
| 99 | 99 | '</fieldset>' . |
| 100 | 100 | Xml::closeElement( 'form' ); |
| 101 | 101 | $out->addHTML( $s ); |
| — | — | @@ -181,7 +181,7 @@ |
| 182 | 182 | $pageLink = Linker::linkKnown( $title ); |
| 183 | 183 | $urlLink = Linker::makeExternalLink( $url, $url ); |
| 184 | 184 | |
| 185 | | - return wfMsgHtml( 'linksearch-line', $urlLink, $pageLink ); |
| | 185 | + return $this->msg( 'linksearch-line' )->rawParams( $urlLink, $pageLink )->escaped(); |
| 186 | 186 | } |
| 187 | 187 | |
| 188 | 188 | /** |