This demonstrates two recent features:
* Support for wrapped forms (I847c5e18ae5469aa3a68cc9fa37b2a6614476ca2)
* Support for namespace selector (I5e97e5c661582f726153533ad00695b450caed46)
Change-Id: I46ba066b324e005bf2efa67036e6db739b0dea32
$hiddenFields = array(
'title' => $this->getPageTitle()->getPrefixedDBkey(),
);
- $htmlForm = HTMLForm::factory( 'inline', $fields, $this->getContext() );
+ $htmlForm = HTMLForm::factory( 'ooui', $fields, $this->getContext() );
$htmlForm->addHiddenFields( $hiddenFields );
$htmlForm->setSubmitTextMsg( 'linksearch-ok' );
$htmlForm->setWrapperLegendMsg( 'linksearch' );