It's better when it's simple

User Tools

Site Tools


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


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

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki