Changes between Version 8 and Version 9 of WikiSearchMacro


Ignore:
Timestamp:
Sep 23, 2016, 7:15:05 AM (7 years ago)
Author:
figaro
Comment:

Moved example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • WikiSearchMacro

    v8 v9  
    66
    77This macro executes a search of wiki pages from directly inside a page and displays a list of results on the page. I needed this because 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
     9Search all wiki pages for a `TODO` string:
     10
     11{{{
     12[[WikiSearch(TODO)]]
     13}}}
     14
     15Search wiki pages with the ''Doc'' prefix for a `TODO` string:
     16
     17{{{
     18[[WikiSearch(TODO, Doc)]]
     19}}}
     20
     21Search wiki pages with the ''Doc'' prefix for a `TODO` string, but only return the first 10 results, and don't search the page '''!DocExplanations''':
     22
     23{{{
     24[[WikiSearch(TODO, Doc, 10, DocExplanations)]]
     25}}}
    826
    927'''License:''' This plugin currently has no license. Ticket #9804 has been opened to try and contact the author.
     
    2745You can check out WikiSearchMacro from [/svn/wikisearchmacro here] using Subversion, or [source:wikisearchmacro browse the source] with Trac.
    2846
    29 == Example
    30 
    31 Search all wiki pages for a `TODO` string.
    32 
    33 {{{
    34 [[WikiSearch(TODO)]]
    35 }}}
    36 
    37 Search wiki pages with the ''Doc'' prefix for a `TODO` string.
    38 
    39 {{{
    40 [[WikiSearch(TODO,Doc)]]
    41 }}}
    42 
    43 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'''.
    44 
    45 {{{
    46 [[WikiSearch(TODO,Doc,10,DocExplanations)]]
    47 }}}
    48 
    4947== Recent Changes
    5048