Index: branches/querypage-work2/phase3/includes/specials/SpecialLinkSearch.php |
— | — | @@ -72,20 +72,20 @@ |
73 | 73 | |
74 | 74 | $self = $this->getTitle(); |
75 | 75 | |
76 | | - $wgOut->addWikiMsg( 'linksearch-text', '<nowiki>' . $wgLang->commaList( $wgUrlProtocols ) . '</nowiki>' ); |
77 | | - $s = Xml::openElement( 'form', array( 'id' => 'mw-linksearch-form', 'method' => 'get', 'action' => $GLOBALS['wgScript'] ) ) . |
78 | | - Html::hidden( 'title', $self->getPrefixedDbKey() ) . |
79 | | - '<fieldset>' . |
80 | | - Xml::element( 'legend', array(), wfMsg( 'linksearch' ) ) . |
81 | | - Xml::inputLabel( wfMsg( 'linksearch-pat' ), 'target', 'target', 50, $target ) . ' '; |
82 | | - if ( !$wgMiserMode ) { |
83 | | - $s .= Xml::label( wfMsg( 'linksearch-ns' ), 'namespace' ) . ' ' . |
84 | | - Xml::namespaceSelector( $namespace, '' ); |
85 | | - } |
86 | | - $s .= Xml::submitButton( wfMsg( 'linksearch-ok' ) ) . |
87 | | - '</fieldset>' . |
88 | | - Xml::closeElement( 'form' ); |
89 | | - $wgOut->addHTML( $s ); |
| 76 | + $wgOut->addWikiMsg( 'linksearch-text', '<nowiki>' . $wgLang->commaList( $wgUrlProtocols ) . '</nowiki>' ); |
| 77 | + $s = Xml::openElement( 'form', array( 'id' => 'mw-linksearch-form', 'method' => 'get', 'action' => $GLOBALS['wgScript'] ) ) . |
| 78 | + Html::hidden( 'title', $self->getPrefixedDbKey() ) . |
| 79 | + '<fieldset>' . |
| 80 | + Xml::element( 'legend', array(), wfMsg( 'linksearch' ) ) . |
| 81 | + Xml::inputLabel( wfMsg( 'linksearch-pat' ), 'target', 'target', 50, $target ) . ' '; |
| 82 | + if ( !$wgMiserMode ) { |
| 83 | + $s .= Xml::label( wfMsg( 'linksearch-ns' ), 'namespace' ) . ' ' . |
| 84 | + Xml::namespaceSelector( $namespace, '' ); |
| 85 | + } |
| 86 | + $s .= Xml::submitButton( wfMsg( 'linksearch-ok' ) ) . |
| 87 | + '</fieldset>' . |
| 88 | + Xml::closeElement( 'form' ); |
| 89 | + $wgOut->addHTML( $s ); |
90 | 90 | |
91 | 91 | if( $target != '' ) { |
92 | 92 | $this->setParams( array( |