Expose the ability to change suggestion api's
authorErik Bernhardson <ebernhardson@wikimedia.org>
Tue, 1 Sep 2015 19:52:29 +0000 (12:52 -0700)
committerErik Bernhardson <ebernhardson@wikimedia.org>
Wed, 2 Sep 2015 02:23:41 +0000 (19:23 -0700)
commita6e585ed4a7b9d0f473888de8f30e70b835a09d5
treea77f0b815e44de0e7a9ba3f08a8c9ec8454e9b9e
parentaed32e47cef570d7d89e0c765d5269ad20fb4b9a
Expose the ability to change suggestion api's

We want to run some tests with alternate suggestions algorithms. This
allows code in the WikimediaEvents repository to replace the api call
with its own method of generating suggestions.

Related WikimediaEvents patch:  I595db33

Bug: T111091
Change-Id: I1fab57ea3c0506b9b6183d214a29b978a388bc29
resources/src/mediawiki/mediawiki.searchSuggest.js