}
}
- $form = new EditWatchlistNormalHTMLForm( $fields );
+ $form = new EditWatchlistNormalHTMLForm( $fields, $this->getContext() );
$form->setTitle( $this->getTitle() );
$form->setSubmitText( wfMessage( 'watchlistedit-normal-submit' )->text() );
$form->setWrapperLegend( wfMessage( 'watchlistedit-normal-legend' )->text() );
'default' => $titles,
),
);
- $form = new HTMLForm( $fields );
+ $form = new HTMLForm( $fields, $this->getContext() );
$form->setTitle( $this->getTitle( 'raw' ) );
$form->setSubmitText( wfMessage( 'watchlistedit-raw-submit' )->text() );
$form->setWrapperLegend( wfMessage( 'watchlistedit-raw-legend' )->text() );