Don't offer create link for searches with syntax
authorNik Everett <neverett@wikimedia.org>
Tue, 4 Feb 2014 18:22:37 +0000 (13:22 -0500)
committerNik Everett <neverett@wikimedia.org>
Tue, 4 Feb 2014 18:28:19 +0000 (13:28 -0500)
commit4e3e752a9ecf985a2bf0d1db0028e4492f03de3a
tree03cc4669fecafb47b1bff5ea756ebf7bbc8ed957
parentf8dbaac443a5cc58a8849bd8e9c0928897aa7991
Don't offer create link for searches with syntax

Rather, create a hook that search implementations can override to specify
that the search contained advanced syntax and core will read it in
Special:Search and only offer the link if it is false.  It'll default
false.

Change-Id: Ic4ce6361d0e602ed9a812dfbbd15ce11a762f5f8
includes/search/SearchEngine.php
includes/specials/SpecialSearch.php