mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-09-24 02:38:16 +00:00
Merge "Convert Special:AbuseFilter/history and /examine to use OOUI"
This commit is contained in:
commit
2fe3b18dea
|
@ -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' )
|
||||
|
|
|
@ -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() )
|
||||
|
|
Loading…
Reference in a new issue