config:search_nslimit
Table of Contents
Configuration Setting: search_nslimit
By default, the search will always search the whole wiki for a given query. For wikis structured by namespaces it might be desirable to limit searches to the current general namespace automatically.
This setting defines how many namespaces of the current page's namespace hierarchy are used to limit the search.
- Type: Number
- Default:
0
Example:
Considering a search is started from the page foo:bar:page
, the following namespace limitation would be used depending on the search_nslimit
setting:
search_nslimit | used namespace |
---|---|
0 | no limitation |
1 | foo |
2 | foo:bar |
3 | foo:bar |
See also
config/search_nslimit.txt · Last modified: 2018-04-25 16:25 by andi