Merge "Convert Special:AbuseFilter/history and /examine to use OOUI"

This commit is contained in:
jenkins-bot 2018-03-10 01:11:57 +00:00 committed by Gerrit Code Review
commit 2fe3b18dea
2 changed files with 2 additions and 2 deletions

View file

@ -45,7 +45,7 @@ class AbuseFilterViewExamine extends AbuseFilterView {
'default' => $this->mSearchPeriodEnd,
],
];
$htmlForm = HTMLForm::factory( 'table', $formDescriptor, $this->getContext() );
$htmlForm = HTMLForm::factory( 'ooui', $formDescriptor, $this->getContext() );
$htmlForm->setWrapperLegendMsg( 'abusefilter-examine-legend' )
->addHiddenField( 'submit', 1 )
->setSubmitTextMsg( 'abusefilter-examine-submit' )

View file

@ -69,7 +69,7 @@ class AbuseFilterViewHistory extends AbuseFilterView {
],
];
$htmlForm = HTMLForm::factory( 'table', $formDescriptor, $this->getContext() );
$htmlForm = HTMLForm::factory( 'ooui', $formDescriptor, $this->getContext() );
$htmlForm->setSubmitTextMsg( 'abusefilter-history-select-submit' )
->setWrapperLegendMsg( 'abusefilter-history-select-legend' )
->setAction( $this->getTitle( 'history' )->getLocalURL() )