og
Is there a way to customize the searchbox in specific namespaces?
What i'm after is that if navigate inside some namespaces, i would like to limit users search in that namespace only, without entering search-scopes using "+@NS" or such.
So i'm thinking about is a checkbox at the search field, which can limit search to current namespace only, if checked.
It that possible?
og
Close, veeery close!
The plugin places an additional searchbox inside the page, what is not what i was looking for. It should replace or enhance the global searchbox.
So, if i add a dropdown at the left of the box, having options like "Search whole wiki" (default), "Search this namespace only", "Search this and containing namespaces only" and use some Javascript technique to add the desired string in the searchfield, just before submitting, it should do it, or?
Technilcally i can image to: hook the submit button to some Javascript-function. This function gets the current selection of the dropdown, which has prefilled search-scope as value. Adds this in front of searchwords and submit it. This should do the trick?!