dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
1ebad72
)
Merge "Preserve 'srbackend' query parameter"
author
Chad
<chadh@wikimedia.org>
Wed, 30 Jul 2014 18:03:58 +0000
(18:03 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Wed, 30 Jul 2014 18:03:58 +0000
(18:03 +0000)
includes/specials/SpecialSearch.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialSearch.php
b/includes/specials/SpecialSearch.php
index
423b875
..
1caed0b
100644
(file)
--- a/
includes/specials/SpecialSearch.php
+++ b/
includes/specials/SpecialSearch.php
@@
-347,6
+347,9
@@
class SpecialSearch extends SpecialPage {
// 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,