r77507 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77506‎ | r77507 | r77508 >
Date:20:50, 30 November 2010
Author:reedy
Status:deferred
Tags:
Comment:
Tab in
Modified paths:
  • /branches/querypage-work2/phase3/includes/specials/SpecialLinkSearch.php (modified) (history)

Diff [purge]

Index: branches/querypage-work2/phase3/includes/specials/SpecialLinkSearch.php
@@ -72,20 +72,20 @@
7373
7474 $self = $this->getTitle();
7575
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 );
9090
9191 if( $target != '' ) {
9292 $this->setParams( array(

Status & tagging log