Convert Special:AbuseLog/# to OOUI

Hopefully this is really the last one: the tiny form at the bottom of
Special:AbuseLog/# to access private details.

Bug: T132284
Change-Id: I3f91beb482b3b85e12b65464914b0ac57ec983df
This commit is contained in:
Daimona Eaytoy 2018-04-02 18:58:43 +02:00
parent 6a518a7d6b
commit fc5aeeaaeb

View file

@ -501,7 +501,7 @@ class SpecialAbuseLog extends SpecialPage {
],
];
$htmlForm = HTMLForm::factory( 'table', $formDescriptor, $this->getContext() );
$htmlForm = HTMLForm::factory( 'ooui', $formDescriptor, $this->getContext() );
$htmlForm->setWrapperLegendMsg( 'abusefilter-view-private' )
->setAction( $this->getPageTitle( 'private/' . $id )->getLocalURL() )
->setSubmitTextMsg( 'abusefilter-view-private-submit' )