Last modified: 2014-08-27 21:06:13 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T71517, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69517 - CirrusSearch appears twice in srbackend paraminfo
CirrusSearch appears twice in srbackend paraminfo
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nik Everett
https://en.wikipedia.org/wiki/Special...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-14 01:06 UTC by Helder
Modified: 2014-08-27 21:06 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Helder 2014-08-14 01:06:25 UTC
Go to
https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&list=search
and click on "srbackend".

There will be three options:
* CirrusSearch
* CirrusSearch
* LuceneSearch

I think it should have just two:
* CirrusSearch
* LuceneSearch
Comment 1 Max Semenik 2014-08-14 01:13:57 UTC
I see only 2 options. What browser are you using?
Comment 2 Helder 2014-08-14 01:18:33 UTC
Firefox 31.0 and Google Chrome 36.0.1985.143.
Comment 3 Helder 2014-08-14 01:20:53 UTC
It is caused by enabling the beta feature "New search" on
https://en.wikipedia.org/wiki/Special:Preferences#mw-prefsection-betafeatures
(the problem also disappears if I access the page logged out).
Comment 4 Max Semenik 2014-08-14 01:46:33 UTC
Aha, that's what paraminfo returns: https://en.wikipedia.org/wiki/Special:ApiSandbox#action=paraminfo&format=json&querymodules=search

So it's a CirrusSearch problem.
Comment 5 Alex Monk 2014-08-14 02:37:10 UTC
Looks like we just need to get rid of any 'CirrusSearch' entry(ies?) from $wgSearchTypeAlternatives when the BetaFeature is enabled in CirrusSearch\Hooks::initializeForUser.
Comment 6 Nik Everett 2014-08-14 13:05:11 UTC
I can have a look at it in a day or two.  If anyone is closer to having the right plugins setup and wants to do it please let me know.
Comment 7 Gerrit Notification Bot 2014-08-27 20:57:16 UTC
Change 156691 had a related patch set uploaded by Manybubbles:
Clean up options with betafeature

https://gerrit.wikimedia.org/r/156691
Comment 8 Nik Everett 2014-08-27 20:58:05 UTC
A day or two turned into two weeks but who is counting now that there is a patch.
Comment 9 Gerrit Notification Bot 2014-08-27 21:03:38 UTC
Change 156691 merged by jenkins-bot:
Clean up options with betafeature

https://gerrit.wikimedia.org/r/156691
Comment 10 Alex Monk 2014-08-27 21:06:13 UTC
Should be fixed now.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links