Special:Log: Use OOUI
authorVolker E <volker.e@wikimedia.org>
Sun, 11 Nov 2018 01:10:08 +0000 (17:10 -0800)
committerVolker E <volker.e@wikimedia.org>
Sun, 11 Nov 2018 01:10:08 +0000 (17:10 -0800)
Bug: T117737
Change-Id: I1a7028a35359d507f699c77a69b09853d45362f5

includes/logging/LogEventsList.php

index a5aa687..ebc3361 100644 (file)
@@ -174,7 +174,7 @@ class LogEventsList extends ContextSource {
 
                $context = new DerivativeContext( $this->getContext() );
                $context->setTitle( SpecialPage::getTitleFor( 'Log' ) ); // Remove subpage
-               $htmlForm = new HTMLForm( $formDescriptor, $context );
+               $htmlForm = HTMLForm::factory( 'ooui', $formDescriptor, $context );
                $htmlForm
                        ->setSubmitText( $this->msg( 'logeventslist-submit' )->text() )
                        ->setMethod( 'get' )