From: <var...@us...> - 2010-05-12 08:59:59
|
Revision: 7394 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7394&view=rev Author: vargenau Date: 2010-05-12 08:59:51 +0000 (Wed, 12 May 2010) Log Message: ----------- Add custom FindPage for Gforge Added Paths: ----------- trunk/themes/gforge/pgsrc/FindPage Added: trunk/themes/gforge/pgsrc/FindPage =================================================================== --- trunk/themes/gforge/pgsrc/FindPage (rev 0) +++ trunk/themes/gforge/pgsrc/FindPage 2010-05-12 08:59:51 UTC (rev 7394) @@ -0,0 +1,54 @@ +Date: Wed, 12 May 2010 10:58:39 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC-20100415) +X-Rcs-Id: $Id: FindPage 7393 2010-05-12 08:25:16Z vargenau $ +Content-Type: application/x-phpwiki; + pagename=FindPage; + flags=PAGE_LOCKED%2CEXTERNAL_PAGE; + markup=2; + charset=UTF-8 +Content-Transfer-Encoding: binary + +== Title Search == + +Here's a title search. Try something like ##wiki or sandwich##. + +<<WikiFormRich action=TitleSearch method=GET nobr=1 class=wikiaction + editbox[] name=s text="" + submit[] + checkbox[] name=case_exact + pulldown[] name=regex value="auto,none,glob,posix,pcre,sql">> + +== Full Text Search == + +Use the following for a full text search. This takes a few seconds. +The results will show all lines on a given page which contain a +match. + +<<WikiFormRich action=FullTextSearch method=GET nobr=1 class=wikiaction + editbox[] name=s text="" + submit[] + checkbox[] name=case_exact + pulldown[] name=regex value="auto,none,glob,posix,pcre,sql">> + +== Fuzzy Search == + +In a fuzzy pages search the titles of all pages are examined to find +those which are similarly spelled or similar sounding (English). + +<?plugin-form FuzzyPages ?> + +== Tips == + +* Separate words with a space. All words have to match as substrings. +* '##OR##', grouping with parenthesis, string-quoting and some glob-style wildcard characters are also supported. +* To exclude words from a title search or full text search, prepend a '##-##'. +* Use '##^xx##' or '##xx~*##' to match words starting with '##xx##'. +* Use '##~*xx##' or '##xx$##' to match words ending with '##xx##'. +* Use '##^word$##' to match exact words. +* Use //regex=auto// and '##re:##' like '##re:word.*xx##' or //regex=posix// to use Posix regular expressions. (not yet) +* Use //regex=auto// and '##//##' like '##/^word$/##' or //regex=pcre// to match using Perl-style regular expressions. +* Use //regex=sql// to match using SQL-style wildcards '##%##' and '##_##'. +* Use //regex=none// to match any wildcards verbatim. + +=== Example === +* '##wiki text -php##' looks for all pages containing the words '##wiki##' and '##text##', but not containing the word '##php##'. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |