Visiting Special:Booksources/.... and then trying to enter a new
ISBN in the form field didn't work because the $par would take
precedence over the query parameter.
Removing the subpage from the HTMLForm context apparently fixes this.
Change-Id: Ia007648e23beadcc017e117e59ce3df1b329dcdc
],
];
- HTMLForm::factory( 'ooui', $formDescriptor, $this->getContext() )
+ $context = new DerivativeContext( $this->getContext() );
+ $context->setTitle( $this->getPageTitle() );
+ HTMLForm::factory( 'ooui', $formDescriptor, $context )
->setWrapperLegendMsg( 'booksources-search-legend' )
->setSubmitTextMsg( 'booksources-search' )
->setMethod( 'get' )