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