]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/FindPage
major pgsrc restructuring: internal doc into Help/*
[SourceForge/phpwiki.git] / pgsrc / FindPage
1 Date: Thu, 11 Nov 2005 18:56:40 +0100
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.11)
3 X-Rcs-Id: $Id: FindPage,v 1.19 2005-11-21 22:19:00 rurban Exp $
4 Content-Type: application/x-phpwiki;
5   pagename=FindPage;
6   pgsrc_version="2 $Revision: 1.19 $";
7   flags=PAGE_LOCKED;
8   markup=2;
9   charset=iso-8859-1
10 Content-Transfer-Encoding: binary
11
12 Here are some good starting points for browsing.
13
14 * Help:HowToUseWiki gives you the quick lowdown on Wiki markup.
15 * RecentChanges recorded automatically.
16 * Help:MoreAboutMechanics of browsing and editing on this server.
17
18 Here's a title search. Try something like <tt>wiki or sandwich</tt>.
19
20 <?plugin WikiFormRich action=TitleSearch method=GET nobr=1 class=wikiaction
21   editbox[] name=s text=""
22   submit[]
23   checkbox[] name=case_exact
24   pulldown[] name=regex value="auto,none,glob,posix,pcre,sql" ?>
25
26 Use the following for a full text search. This takes a few seconds.
27 The results will show all lines on a given page which contain a
28 match.
29
30 <?plugin WikiFormRich action=FullTextSearch method=GET nobr=1 class=wikiaction
31   editbox[] name=s text=""
32   submit[]
33   checkbox[] name=case_exact
34   pulldown[] name=regex value="auto,none,glob,posix,pcre,sql" ?>
35
36 In a fuzzy pages search the titles of all pages are examined to find
37 those which are similarly spelled or similar sounding (english).
38
39 <?plugin-form FuzzyPages ?>
40
41 ------
42
43 ! Tips
44 Separate words with a space. All words have to match as substrings. %%%
45 'OR', grouping with parenthesis, string-quoting and some glob-style wildcard 
46 characters are also supported. %%%
47 To exclude words from a title search or full text search, prepend a '-'. %%%
48 Use '^xx' or 'xx*' to match words starting with 'xx'. %%%
49 Use '~*xx' or 'xx$' to match words ending with 'xx'. %%%
50 Use '^word$' to match exact words. %%%
51 Use regex=auto and 're:' like 're:word.*xx' or regex=posix to use posix regular expressions. (not yet) %%%
52 Use regex=auto and '//' like '/^word$/' or regex=pcre to match using perl-style regular expressions. %%%
53 Use regex=sql to match using SQL-style wildcards '%' and '_'. %%%
54 Use regex=none to match any wildcards verbatim. %%%
55
56 Example: 'wiki text -php' looks for all pages containing the words 'wiki' and 'text',  %%%
57          but not containing the word 'php'.