| 1 | [[PageOutline(2-5,Contents,pullout)]] |
| 2 | |
| 3 | = Search wiki pages for specified string = |
| 4 | |
| 5 | == Description == |
| 6 | |
| 7 | This macro executes a search of wiki pages from directly inside a page and displays a list of results on the page. I needed this cause we use the ''TODO'' string inside pages that still need attention, and I wanted to show on the home page of the project a list of pages demanding attention. |
| 8 | |
| 9 | == Bugs/Feature Requests == |
| 10 | |
| 11 | Existing bugs and feature requests for WikiSearchMacro are |
| 12 | [report:9?COMPONENT=WikiSearchMacro here]. |
| 13 | |
| 14 | If you have any issues, create a |
| 15 | [http://trac-hacks.org/newticket?component=WikiSearchMacro&owner=rjollos new ticket]. |
| 16 | |
| 17 | == Download == |
| 18 | |
| 19 | Download the zipped source from [download:wikisearchmacro here]. |
| 20 | |
| 21 | == Source == |
| 22 | |
| 23 | You can check out WikiSearchMacro from [http://trac-hacks.org/svn/wikisearchmacro here] using Subversion, or [source:wikisearchmacro browse the source] with Trac. |
| 24 | |
| 25 | == Example == |
| 26 | |
| 27 | Search all wiki pages for a `TODO` string. |
| 28 | |
| 29 | {{{ |
| 30 | [[SmallSearch(TODO)]] |
| 31 | }}} |
| 32 | |
| 33 | Search wiki pages with the ''Doc'' prefix for a `TODO` string. |
| 34 | |
| 35 | {{{ |
| 36 | [[SmallSearch(TODO,Doc)]] |
| 37 | }}} |
| 38 | |
| 39 | Search wiki pages with the ''Doc'' prefix for a `TODO` string, but only return the first 10 results, and don't search the page '''!DocExplanations'''. |
| 40 | |
| 41 | {{{ |
| 42 | [[SmallSearch(TODO,Doc,10,DocExplanations)]] |
| 43 | }}} |
| 44 | |
| 45 | == Recent Changes == |
| 46 | |
| 47 | [[ChangeLog(wikisearchmacro, 3)]] |
| 48 | |
| 49 | == Author/Contributors == |
| 50 | |
| 51 | '''Author:''' [wiki:rjollos] [[BR]] |
| 52 | '''Maintainer:''' [wiki:rjollos] [[BR]] |
| 53 | '''Contributors:''' |