When navigating to a different result limit the srbackend parameter was
lost. This patch fixes that by adding srbackend to SpecialSearch::extraParams.
Bug: 61483
Change-Id: Ib510082ff058afbf033296e60a2ad67b4c9c9b24
// Show the create link ahead
$this->showCreateLink( $title, $num, $titleMatches, $textMatches );
if ( $totalRes > $this->limit || $this->offset ) {
+ if ( $this->searchEngineType !== null ) {
+ $this->setExtraParam( 'srbackend', $this->searchEngineType );
+ }
$prevnext = $this->getLanguage()->viewPrevNext(
$this->getPageTitle(),
$this->offset,