Make the old $wgSearchType available as an alternative if the BetaFeature is enabled

Bug: 60439
Change-Id: Idb903b7577fdc7a58a06001737657410b189e678