1 Date: Fri, 11 Jan 2013 11:16:51 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0)
3 Content-Type: application/x-phpwiki;
4 pagename=Help%2FWikiFormRichPlugin;
5 flags=PAGE_LOCKED%2CEXTERNAL_PAGE;
7 Content-Transfer-Encoding: binary
9 Create generic and enhanced forms, with various options:
10 * editbox[] name=.. value=.. text=.. autocomplete=0|1
11 * checkbox[] name=.. value=0|1 checked text=..
12 * radio[] name=.. value=.. text=..
13 * pulldown[] name=.. value=.. selected=.. text=.. autocomplete=0|1
14 * combobox[] name=.. value=.. text=.. method=.. args=..
15 * hidden[] name=.. value=..
17 * action, submit buttontext, optional cancel button (bool)
18 * method=get or post, Default: post.
20 Valid arguments for pulldown and editbox: autocomplete=1, Default: 0
22 If autocomplete=1, additional arguments method and args may be used.
23 autocomplete together with dyn-methods (see below) should be used to handle larger lists (> 500).
25 If no method is given, value will be used to fill in the valid values.
28 method="xmlrpc:name [optional args]"
29 method="dynxmlrpc:url [optional args]"
30 method="url:http://server/wiki/method"
31 method="dynurl:http://server/wiki/method"
32 method="array:jsvariable"
33 method="plugin:pluginname [optional args]"
36 * The plugin must return a pagelist.
37 * args are optional arguments, space separated, for the method.
38 * A combobox is a pulldown with autocomplete=1.
39 * Values which are constants are evaluated.
40 * The cancel button must be supported by the action (just some wikiadmin actions so far)
41 * improve layout by: nobr=1
42 * some allow values as list from <!plugin-list pluginname args !>
47 <<WikiFormRich action=dumpserial method=get
48 checkbox[] name=include value="all"
49 editbox[] name=directory value=DEFAULT_DUMP_DIR
50 editbox[] name=pages value=*
51 editbox[] name=exclude value=""
55 <<WikiFormRich action=dumpserial method=get
56 checkbox[] name=include value="all"
57 editbox[] name=directory value=DEFAULT_DUMP_DIR
58 editbox[] name=pages value=*
59 editbox[] name=exclude value=""
65 <<WikiFormRich action=dumphtml method=get
66 editbox[] name=directory value=HTML_DUMP_DIR
67 editbox[] name=pages value="*"
68 editbox[] name=exclude value=""
72 <<WikiFormRich action=dumphtml method=get
73 editbox[] name=directory value=HTML_DUMP_DIR
74 editbox[] name=pages value="*"
75 editbox[] name=exclude value=""
81 <<WikiFormRich action=loadfile method=get
82 editbox[] name=source value=DEFAULT_WIKI_PGSRC
83 checkbox[] name=overwrite value=1
84 editbox[] name=exclude value=""
88 <<WikiFormRich action=loadfile method=get
89 editbox[] name=source value=DEFAULT_WIKI_PGSRC
90 checkbox[] name=overwrite value=1
91 editbox[] name=exclude value=""
97 <<WikiFormRich action=TitleSearch method=get class=wikiadmin nobr=1
98 editbox[] name=s text=""
100 checkbox[] name=case_exact
101 checkbox[] name=regex
105 <<WikiFormRich action=TitleSearch method=get class=wikiadmin nobr=1
106 editbox[] name=s text=""
108 checkbox[] name=case_exact
109 checkbox[] name=regex
115 <<WikiFormRich action=FullTextSearch method=get class=wikiadmin nobr=1
116 editbox[] name=s text=""
118 checkbox[] name=case_exact
119 checkbox[] name=regex
123 <<WikiFormRich action=FullTextSearch method=get class=wikiadmin nobr=1
124 editbox[] name=s text=""
126 checkbox[] name=case_exact
127 checkbox[] name=regex
133 <<WikiFormRich action=FuzzyPages method=get class=wikiadmin nobr=1
134 editbox[] name=s text=""
136 checkbox[] name=case_exact
140 <<WikiFormRich action=FuzzyPages method=get class=wikiadmin nobr=1
141 editbox[] name=s text=""
143 checkbox[] name=case_exact
149 <<WikiFormRich action=AppendText buttontext="AddPlugin"
150 radio[] name=s value=<!plugin-list BackLinks page=WikiPlugin limit=5 !>
154 <<WikiFormRich action=AppendText buttontext="AddPlugin"
155 radio[] name=s value=<!plugin-list BackLinks page=WikiPlugin limit=5 !>
161 <<WikiFormRich action=AppendText buttontext="AddPlugin"
162 combobox[] name=s text="" style="width:60px" value=<!plugin-list BackLinks page=WikiPlugin !>
167 <<WikiFormRich action=AppendText buttontext="AddPlugin"
168 combobox[] name=s text="" style="width:60px" value=<!plugin-list BackLinks page=WikiPlugin !>
175 <<WikiFormRich action=AppendText buttontext="AddCategory"
176 pulldown[] name=s text="Categories: " value=<!plugin-list TitleSearch s=Category !>
180 <<WikiFormRich action=AppendText buttontext="AddCategory"
181 pulldown[] name=s text="Categories: " value=<!plugin-list TitleSearch s=Category !>
187 <<WikiFormRich action=SemanticSearch buttontext="AddRelation"
188 combobox[] name=relation method="xmlrpc:listRelations"
190 checkbox[] name=case_exact text="Case-exact?"
197 <<WikiFormRich action=AppendText buttontext="InsertTemplate"
198 combobox[] name=s text="Template: " method="plugin:titleSearch s=Template*"
203 <<WikiFormRich action=AppendText buttontext="InsertTemplate"
204 combobox[] name=s text="Template: " method="plugin:titleSearch s=Template*"
211 <<WikiFormRich action=GoTo
212 editbox[] name=page text="GoTo: " method="dynxmlrpc:titleSearch s=H" style="width:100px" autocomplete=1
218 * [[Help:Reini Urban|Reini Urban]]
221 * [[Help:WikiFormPlugin]]
225 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]