Merge "Nicer Special:AbuseLog URIs when using the form there"

This commit is contained in:
Catrope 2012-10-25 03:18:34 +00:00 committed by Gerrit Code Review
commit 4b6c3b8a16

View file

@ -112,12 +112,10 @@ class SpecialAbuseLog extends SpecialPage {
Xml::input( 'wpSearchWiki', 45, $this->mSearchWiki );
}
$form = Html::hidden( 'title', $this->getTitle()->getPrefixedText() );
$form .= Xml::buildForm( $fields, 'abusefilter-log-search-submit' );
$output .= Xml::tags( 'form',
array( 'method' => 'get', 'action' => $this->getTitle()->getLocalURL() ),
$form );
Xml::buildForm( $fields, 'abusefilter-log-search-submit' )
);
$output = Xml::tags( 'fieldset', null, $output );
$this->getOutput()->addHTML( $output );