How to reproduce:
- Add settings:
$wgCapitalLinkOverrides[NS_FOO] = false; // NS_FOO 1200
$wgCapitalLinkOverrides[NS_FOO_TALK] = false;
- Create Foo:bar
- Go to /w/api.php?action=opensearch&format=jsonfm&namespace=1200&suggest=&search=bar
Expected: To get suggestion for Foo:bar
Observed: No suggestions
Reason: There is some code in PrefixSearch::search that normalizes the search keyword as if it were in NS_MAIN.
Version: 1.24rc