Page MenuHomePhabricator

Refactor CirrusSearch\Searcher to remove usage of global variables and instead use a Config object
Closed, ResolvedPublic

Description

We want to be able to switch which wiki we are querying without having to execute within that wiki's context. We should be able to pass in a config object that contains all relevant information and pass that around instead of reaching out into globals.

This should play nice with the UserTesting class that currently overwrites global variables.