DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:searchform

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Both sides next revision
plugin:searchform [2020-12-05 22:24]
Klap-in
plugin:searchform [2021-04-01 23:26] (current)
Klap-in add namespace exclude option
Line 6: Line 6:
 email      : klapinklapin@gmail.com email      : klapinklapin@gmail.com
 type       : syntax type       : syntax
-lastupdate : 2020-12-05+lastupdate : 2021-04-01
 compatible : Greebo, Hogfather compatible : Greebo, Hogfather
 depends    :  depends    : 
Line 30: Line 30:
 It will show a search box that searches default in the namespace where that page is. It will show a search box that searches default in the namespace where that page is.
  
-To perform searches in other namespaces you add the option ''ns=<your:namespace>''+To perform searches in other namespaces you add the option ''ns=<your:namespace>'' or ''-ns=<namespace:skipped>''
 <code> <code>
 {searchform ns=wiki} {searchform ns=wiki}
 {searchform ns=} {searchform ns=}
 {searchform ns=other:namespace} {searchform ns=other:namespace}
 +{searchform -ns=exclude:namespace}
 </code> </code>
 These boxes searches respectively in ''wiki:'', all namespaces or in the subnamespace ''other:namespace''. These boxes searches respectively in ''wiki:'', all namespaces or in the subnamespace ''other:namespace''.
plugin/searchform.txt ยท Last modified: 2021-04-01 23:26 by Klap-in