1 Date: Fri, 7 Dec 2012 14:58:45 +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;
8 Content-Transfer-Encoding: binary
10 Create generic and enhanced forms, with various options:
11 * editbox[] name=.. value=.. text=.. autocomplete=0|1
12 * checkbox[] name=.. value=0|1 checked text=..
13 * radio[] name=.. value=.. text=..
14 * pulldown[] name=.. value=.. selected=.. text=.. autocomplete=0|1
15 * combobox[] name=.. value=.. text=.. method=.. args=..
16 * hidden[] name=.. value=..
18 * action, submit buttontext, optional cancel button (bool)
19 * method=get or post, Default: post.
21 Valid arguments for pulldown and editbox: autocomplete=1, Default: 0
23 If autocomplete=1, additional arguments method and args may be used.
24 autocomplete together with dyn-methods (see below) should be used to handle larger lists (> 500).
26 If no method is given, value will be used to fill in the valid values.
29 method="xmlrpc:name [optional args]"
30 method="dynxmlrpc:url [optional args]"
31 method="url:http://server/wiki/method"
32 method="dynurl:http://server/wiki/method"
33 method="array:jsvariable"
34 method="plugin:pluginname [optional args]"
37 * The plugin must return a pagelist.
38 * args are optional arguments, space seperated, for the method.
39 * A combobox is a pulldown with autocomplete=1.
40 * Values which are constants are evaluated.
41 * The cancel button must be supported by the action (just some wikiadmin actions so far)
42 * improve layout by: nobr=1
43 * some allow values as list from <!plugin-list pluginname args !>
48 <<WikiFormRich action=dumpserial method=get
49 checkbox[] name=include value="all"
50 editbox[] name=directory value=DEFAULT_DUMP_DIR
51 editbox[] name=pages value=*
52 editbox[] name=exclude value=""
56 <<WikiFormRich action=dumpserial method=get
57 checkbox[] name=include value="all"
58 editbox[] name=directory value=DEFAULT_DUMP_DIR
59 editbox[] name=pages value=*
60 editbox[] name=exclude value=""
66 <<WikiFormRich action=dumphtml method=get
67 editbox[] name=directory value=HTML_DUMP_DIR
68 editbox[] name=pages value="*"
69 editbox[] name=exclude value=""
73 <<WikiFormRich action=dumphtml method=get
74 editbox[] name=directory value=HTML_DUMP_DIR
75 editbox[] name=pages value="*"
76 editbox[] name=exclude value=""
82 <<WikiFormRich action=loadfile method=get
83 editbox[] name=source value=DEFAULT_WIKI_PGSRC
84 checkbox[] name=overwrite value=1
85 editbox[] name=exclude value=""
89 <<WikiFormRich action=loadfile method=get
90 editbox[] name=source value=DEFAULT_WIKI_PGSRC
91 checkbox[] name=overwrite value=1
92 editbox[] name=exclude value=""
98 <<WikiFormRich action=TitleSearch method=get class=wikiadmin nobr=1
99 editbox[] name=s text=""
101 checkbox[] name=case_exact
102 checkbox[] name=regex
106 <<WikiFormRich action=TitleSearch method=get class=wikiadmin nobr=1
107 editbox[] name=s text=""
109 checkbox[] name=case_exact
110 checkbox[] name=regex
116 <<WikiFormRich action=FullTextSearch method=get class=wikiadmin nobr=1
117 editbox[] name=s text=""
119 checkbox[] name=case_exact
120 checkbox[] name=regex
124 <<WikiFormRich action=FullTextSearch method=get class=wikiadmin nobr=1
125 editbox[] name=s text=""
127 checkbox[] name=case_exact
128 checkbox[] name=regex
134 <<WikiFormRich action=FuzzyPages method=get class=wikiadmin nobr=1
135 editbox[] name=s text=""
137 checkbox[] name=case_exact
141 <<WikiFormRich action=FuzzyPages method=get class=wikiadmin nobr=1
142 editbox[] name=s text=""
144 checkbox[] name=case_exact
150 <<WikiFormRich action=AppendText buttontext="AddPlugin"
151 radio[] name=s value=<!plugin-list BackLinks page=WikiPlugin limit=5 !>
155 <<WikiFormRich action=AppendText buttontext="AddPlugin"
156 radio[] name=s value=<!plugin-list BackLinks page=WikiPlugin limit=5 !>
162 <<WikiFormRich action=AppendText buttontext="AddPlugin"
163 combobox[] name=s text="" style="width:60px" value=<!plugin-list BackLinks page=WikiPlugin !>
168 <<WikiFormRich action=AppendText buttontext="AddPlugin"
169 combobox[] name=s text="" style="width:60px" value=<!plugin-list BackLinks page=WikiPlugin !>
176 <<WikiFormRich action=AppendText buttontext="AddCategory"
177 pulldown[] name=s text="Categories: " value=<!plugin-list TitleSearch s=Category !>
181 <<WikiFormRich action=AppendText buttontext="AddCategory"
182 pulldown[] name=s text="Categories: " value=<!plugin-list TitleSearch s=Category !>
188 <<WikiFormRich action=SemanticSearch buttontext="AddRelation"
189 combobox[] name=relation method="xmlrpc:listRelations"
191 checkbox[] name=case_exact text="Case-exact?"
198 <<WikiFormRich action=AppendText buttontext="InsertTemplate"
199 combobox[] name=s text="Template: " method="plugin:titleSearch s=Template*"
204 <<WikiFormRich action=AppendText buttontext="InsertTemplate"
205 combobox[] name=s text="Template: " method="plugin:titleSearch s=Template*"
212 <<WikiFormRich action=GoTo
213 editbox[] name=page text="GoTo: " method="dynxmlrpc:titleSearch s=H" style="width:100px" autocomplete=1
219 * [[Help:Reini Urban|Reini Urban]]
222 * [[Help:WikiFormPlugin]]
226 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]