Difference between revisions of "DPL Simple Forms Test"
m |
|||
Line 227: | Line 227: | ||
|{{#ifeq:{{#request:export}}|yes|format=[http://gs-nb/dpldemo/index.php/Special:Export?pages=,,%0D%0A, click to start export of '''all selected pages''']}} | |{{#ifeq:{{#request:export}}|yes|format=[http://gs-nb/dpldemo/index.php/Special:Export?pages=,,%0D%0A, click to start export of '''all selected pages''']}} | ||
|skipthispage=no | |skipthispage=no | ||
− | }}{{#ifeq: | + | }}{{#ifeq:{{#request:randomcount}} |
− | {{#dpl: | + | |- |
− | {{#ifeq:{{#request:namespace}}|all||{{#if:{{#request:namespace}}|{{#ifeq:{{#request:namespace}}|main|namespace=|namespace={{#request:namespace}}}}}}}} |{{#ifeq:{{#request:notnamespace}}|-||{{#if:{{#request:notnamespace}}|{{#ifeq:{{#request:notnamespace}}|main|notnamespace=|notnamespace={{#request:notnamespace}}}}}}}} | + | |{{#ifeq: {{#dpl: {{#ifeq: {{#request:namespace}}|all||{{#if: {{#request:namespace}}|{{#ifeq: {{#request:namespace}}|main|namespace=|namespace={{#request:namespace}} }} }} }} |
− | + | |{{#ifeq: {{#request:notnamespace}}|-||{{#if:{{#request:notnamespace}}|{{#ifeq:{{#request:notnamespace}}|main|notnamespace=|notnamespace={{#request:notnamespace}}}}}}}} | |
− | + | |{{#ifeq:{{#request:category}}|?||{{#if:{{#request:category}}|category={{#request:category}}}}}} | |
− | + | |{{#ifeq:{{#request:notcategory}}|?||{{#if:{{#request:notcategory}}|notcategory={{#request:notcategory}}}}}} | |
− | + | |{{#ifeq:{{#request:category2}}|?||{{#if:{{#request:category2}}|category={{#request:category2}}}}}} | |
− | + | |{{#ifeq:{{#request:notcategory2}}|?||{{#if:{{#request:notcategory2}}|notcategory={{#request:notcategory2}}}}}} | |
− | + | |{{#ifeq:{{#request:uses}}|?||{{#if:{{#request:uses}}|uses=Template:{{#request:uses}}}}}} | |
− | + | |{{#ifeq:{{#request:notuses}}|?||{{#if:{{#request:notuses}}|notuses=Template:{{#request:notuses}}}}}} | |
− | + | |{{#ifeq:{{#request:createdby}}|?||{{#if:{{#request:createdby}}|createdby={{#request:createdby}}}}}} | |
− | + | |{{#ifeq:{{#request:modifiedby}}|?||{{#if:{{#request:modifiedby}}|modifiedby={{#request:modifiedby}}}}}} | |
− | + | |titlematch={{#request:titlematch}} | |
− | + | |nottitlematch={{#request:nottitlematch}} | |
− | + | |linksto={{#request:linksto}} | |
− | + | |notlinksto={{#request:notlinksto}} | |
− | + | |count=1 | |
− | + | |offset={{#expr: {{#if:{{#request:offset}}|{{#request:offset}} +}} {{#var:resultsCount}} }} | |
− | + | |{{#ifeq:{{#request:lastrevisionbefore}}|YYYY-MM-DD||lastrevisionbefore={{#request:lastrevisionbefore}}}} | |
− | + | |{{#ifeq:{{#request:firstrevisionsince}}|YYYY-MM-DD||firstrevisionsince={{#request:firstrevisionsince}}}} | |
− | + | |{{#ifeq:{{#request:allrevisionsbefore}}|YYYY-MM-DD||allrevisionsbefore={{#request:allrevisionsbefore}}}} | |
− | + | |{{#ifeq:{{#request:allrevisionssince}}|YYYY-MM-DD||allrevisionssince={{#request:allrevisionssince}}}} | |
− | + | |skipthispage=no | |
− | }}|1|< | + | |format=,1,, |
− | = | + | }}|1|<br/>[{{fullurl:{{FULLPAGENAME}} |
− | + | |offset={{#expr: {{#if:{{#request:offset}}|{{#request:offset}} +}} {{#var:resultsCount}} }}{{ | |
+ | #if: {{#request:namespace}} |&namespace={{#request:namespace}} }}{{ | ||
+ | #if: {{#request:notnamespace}} |¬namespace={{#request:notnamespace}} }}{{ | ||
+ | #if: {{#request:category}} |&category={{#request:category}} }}{{ | ||
+ | #if: {{#request:notcategory}} |¬category={{#request:notcategory}} }}{{ | ||
+ | #if: {{#request:category2}} |&category2={{#request:category2}} }}{{ | ||
+ | #if: {{#request:notcategory2}} |¬category2={{#request:notcategory2}} }}{{ | ||
+ | #if: {{#request:uses}} |&uses={{#request:uses}} }}{{ | ||
+ | #if: {{#request:notuses}} |¬uses={{#request:notuses}} }}{{ | ||
+ | #if: {{#request:createdby}} |&createdby={{#request:createdby}} }}{{ | ||
+ | #if: {{#request:modifiedby}} |&modifiedby={{#request:modifiedby}} }}{{ | ||
+ | #if: {{#request:titlematch}} |&titlematch={{#request:titlematch}} }}{{ | ||
+ | #if: {{#request:nottitlematch}} |¬titlematch={{#request:nottitlematch}} }}{{ | ||
+ | #if: {{#request:linksto}} |&linksto={{#request:linksto}} }}{{ | ||
+ | #if: {{#request:notlinksto}} |¬linksto={{#request:notlinksto}} }}{{ | ||
+ | #if: {{#request:columns}} |&columns={{#request:columns}} }}{{ | ||
+ | #if: {{#request:export}} |&export={{#request:export}} }}{{ | ||
+ | #if: {{#request:order}} |&order={{#request:order}} }}{{ | ||
+ | #if: {{#request:ordermethod}} |&ordermethod={{#request:ordermethod}} }}{{ | ||
+ | #if: {{#request:escapelinks}} |&escapelinks={{#request:escapelinks}} }}{{ | ||
+ | #if: {{#request:randomcount}} |&randomcount={{#request:randomcount}} }}{{ | ||
+ | #if: {{#request:count}} |&count={{#request:count}} }}{{ | ||
+ | #if: {{#request:shownamespace}} |&shownamespace={{#request:shownamespace}} }}{{ | ||
+ | #if: {{#request:addcategories}} |&addcategories={{#request:addcategories}} }}{{ | ||
+ | #if: {{#request:addpagecounter}} |&addpagecounter={{#request:addpagecounter}} }}{{ | ||
+ | #if: {{#request:addpagesize}} |&addpagesize={{#request:addpagesize}} }}{{ | ||
+ | #if: {{#request:addeditdate}} |&addeditdate={{#request:addeditdate}} }}{{ | ||
+ | #if: {{#request:addpagetoucheddate}}|&addpagetoucheddate={{#request:addpagetoucheddate}} }}{{ | ||
+ | #if: {{#request:adduser}} |&adduser={{#request:adduser}} }}{{ | ||
+ | #if: {{#request:lastrevisionbefore}}|&lastrevisionbefore={{#request:lastrevisionbefore}} }}{{ | ||
+ | #if: {{#request:firstrevisionsince}}|&firstrevisionsince={{#request:firstrevisionsince}} }}{{ | ||
+ | #if: {{#request:allrevisionsbefore}}|&allrevisionsbefore={{#request:allrevisionsbefore}} }}{{ | ||
+ | #if: {{#request:allrevisionssince}} |&allrevisionssince={{#request:allrevisionssince}} }}{{ | ||
+ | #if: {{#request:name}} |&name={{#request:name}} }} | ||
+ | }} next] | ||
+ | }} | ||
+ | }} | ||
---- | ---- | ||
<small><u>Your query used the following parameters</u><br/> | <small><u>Your query used the following parameters</u><br/> |
Revision as of 22:09, 6 December 2007
{{#form: name= demo |action=/dpldemo/index.php| {{#input: name= title |type= hidden | value = DPL_Simple_Forms_Test }}
namespace | type= select | value = {{#request:namespace}} |
}} |
but not | type= select | value = {{#request:notnamespace}} |
}} | ||
category | value = {{#request:category}} |type= select | *?
|
but not | value = {{#request:notcategory}} |type= select | *?
|
and category | value = {{#request:category2}} |type= select | *?
|
and not | value = {{#request:notcategory2}} |type= select | *?
|
uses | value = {{#request:uses}} |type= select | *?
|
but not | value = {{#request:notuses}} |type= select | *?
|
links to | value = {{#request:linksto}} }} | but not to | value = {{#request:notlinksto}} }} | ||
created by | value = {{#request:createdby}} |type= select | *?
|
modified by | value = {{#request:modifiedby}} |type= select | *?
|
last rev. before | value = {{#request:lastrevisionbefore}} }} | first rev. since | value = {{#request:firstrevisionsince}} }} | ||
all revs. before | value = {{#request:allrevisionsbefore}} }} | all revs. since | value = {{#request:allrevisionssince}} }} |
show: namespace {{#input: name= shownamespace
|type= select | value = {{#request:shownamespace}} |
- yes
- no
}}categories {{#input: name= addcategories
|type= select | value = {{#request:addcategories}} |
- no
- yes
}}visits {{#input: name= addpagecounter
|type= select | value = {{#request:addpagecounter}} |
- no
- yes
}}size {{#input: name= addpagesize
|type= select | value = {{#request:addpagesize}} |
- no
- yes
}}user {{#input: name= adduser
|type= select | value = {{#request:adduser}} |
- no
- yes
}}editdate {{#input: name= addeditdate
|type= select | value = {{#request:addeditdate}} |
- no
- yes
}}touch date: {{#input: name= addpagetoucheddate
|type= select | value = {{#request:addpagetoucheddate}} |
- no
- yes
}} ordermethod: {{#input: name= ordermethod |type= select | value = {{#request:ordermethod}} |
- -
- category,firstedit
- category,lastedit
- category,pagetouched
- category,sortkey
- categoryadd
- counter
- firstedit
- lastedit
- pagetouched
- size
- title
- titlewithoutnamespace
- user,firstedit
- user,lastedit
}}order: {{#input: name= order
|type= select | value = {{#request:order}} |
- ascending
- descending
}}escapelinks: {{#input: name= escapelinks
|type= select | value = {{#request:escapelinks}} |
- true
- false
}}randomcount: {{#input: name= randomcount
|type= select | value = {{#request:randomcount}} |
- -
- 1
- 3
- 5
- 10
}}export: {{#input: name= export
|type= select | value = {{#request:export}} |
- no
- yes
}}
value = {{#request:titlematch}} }} columns {{#input: name= columns |type= select | value = {{#request:columns}} |
}}maxrecords {{#input: name= count | value = {{#request:count}} | size = 2 }}offset {{#input: name= offset | value = {{#request:offset}} | size = 2 }} {{#input: type = submit | value = List members }} reset |
}}
{{#request:name}}
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:category}}' for parameter 'category'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:category2}}' for parameter 'category'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:ordermethod}}' for parameter 'ordermethod'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:namespace}}' for parameter 'namespace'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:notnamespace}}' for parameter 'notnamespace'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:notcategory}}' for parameter 'notcategory'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:notcategory2}}' for parameter 'notcategory'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option 'Template:{{#request:uses}}' for parameter 'uses'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option 'Template:{{#request:notuses}}' for parameter 'notuses'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:linksto}}' for parameter 'linksto'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:notlinksto}}' for parameter 'notlinksto'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:order}}' for parameter 'order'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:escapelinks}}' for parameter 'escapelinks'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:randomcount}}' for parameter 'randomcount'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:count}}' for parameter 'count'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:shownamespace}}' for parameter 'shownamespace'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:addcategories}}' for parameter 'addcategories'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:addpagecounter}}' for parameter 'addpagecounter'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:addpagesize}}' for parameter 'addpagesize'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:addeditdate}}' for parameter 'addeditdate'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:addpagetoucheddate}}' for parameter 'addpagetoucheddate'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:adduser}}' for parameter 'adduser'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:lastrevisionbefore}}' for parameter 'lastrevisionbefore'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:firstrevisionsince}}' for parameter 'firstrevisionsince'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:allrevisionsbefore}}' for parameter 'allrevisionsbefore'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:allrevisionssince}}' for parameter 'allrevisionssince'.
{{#vardefine:resultsCount|0}}There are no results for your query.Your query used the following parameters
namespace={{#request:namespace}}
notnamespace={{#request:notnamespace}}
category={{#request:category}}
category={{#request:category2}}
notcategory={{#request:notcategory}}
notcategory={{#request:notcategory2}}
uses=Template:{{#request:uses}}
notuses=Template:{{#request:notuses}}
createdby={{#request:createdby}}
modifiedby={{#request:modifiedby}}
titlematch={{#request:titlematch}}
nottitlematch={{#request:nottitlematch}}
linksto={{#request:linksto}}
notlinksto={{#request:notlinksto}}
columns={{#request:columns}}
order={{#request:order}}
ordermethod={{#request:ordermethod}}
escapelinks={{#request:escapelinks}}
randomcount={{#request:randomcount}}
count={{#request:count}}
offset={{#request:offset}}
shownamespace={{#request:shownamespace}}
addcategories={{#request:addcategories}}
addpagecounter={{#request:addpagecounter}}
addpagesize={{#request:addpagesize}}
addeditdate={{#request:addeditdate}}
addpagetoucheddate={{#request:addpagetoucheddate}}
adduser={{#request:adduser}}
lastrevisionbefore={{#request:lastrevisionbefore}}
firstrevisionsince={{#request:firstrevisionsince}}
allrevisionsbefore={{#request:allrevisionsbefore}}
allrevisionssince={{#request:allrevisionssince}}