Difference between revisions of "Issue:Child DPL doesn't works"
From FollowTheScore
(New page: {{Issue |Type = Bug |Extension = DPL |Version = 1.6.8 |Description = Child tag <DPL></DPL> doesn't work |Status = open }} == Problem == <DPL> category=Главн...) |
Theaitetos (talk | contribs) m (closed) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
|Version = 1.6.8 | |Version = 1.6.8 | ||
|Description = Child tag <DPL></DPL> doesn't work | |Description = Child tag <DPL></DPL> doesn't work | ||
− | |Status = | + | |Status = closed |
}} | }} | ||
== Problem == | == Problem == | ||
+ | <pre> | ||
<DPL> | <DPL> | ||
category=Главная | category=Главная | ||
Line 15: | Line 16: | ||
addeditdate = true | addeditdate = true | ||
count=5 | count=5 | ||
− | format=<ul>,<li>[[ | + | format=<ul>,<li>[[%TITLE%]],<DPL>\ncategory=%TITLE%\nuserdateformat = d.m.Y\nordermethod = lastedit\norder = descending\naddeditdate = true\ncount=5\n</DPL></li>,</ul> |
</DPL> | </DPL> | ||
+ | </pre> | ||
Result: | Result: | ||
+ | <pre> | ||
<ul><li><a href="/wiki/index.php?title=Test1&action=edit" class="new" title="Test1">Test1</a></ul> | <ul><li><a href="/wiki/index.php?title=Test1&action=edit" class="new" title="Test1">Test1</a></ul> | ||
− | <p>& | + | <p> & l t ; /li & g t ;, & l t ;/ul & g t; |
− | & | + | & l t ;/DPL & g t; |
+ | </pre> | ||
+ | bad result :( First <pre></DPL></pre> closes all <pre><DPL></pre>tags | ||
− | + | == Reply == | |
+ | |||
+ | This is not a bug. If you want to nest DPL queries you must use parser function syntax. Be careful to read the manual. To embed angle brackets you must use 'double angle brackets'. | ||
+ | |||
+ | There are dpl scripts on this website which demonstrate how to produce result lists for nested categories, see [[Test_category_hierarchy]], [[Test_subcategories]] and [[C]] (last paragraph wehere CC is used). | ||
− | + | :[[User:Gero|Gero]] 23:50, 13 March 2008 (CET) |
Latest revision as of 15:32, 23 April 2013
Description: | Child tag Extension:DynamicPageList (DPL), version 3.2.1: Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby, or their 'not' variants Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results. doesn't work |
Extension / Version: | DPL / 1.6.8 |
Type / Status: | Bug / closed |
Problem
<DPL> category=Главная userdateformat = d.m.Y ordermethod = lastedit order = descending addeditdate = true count=5 format=<ul>,<li>[[%TITLE%]],<DPL>\ncategory=%TITLE%\nuserdateformat = d.m.Y\nordermethod = lastedit\norder = descending\naddeditdate = true\ncount=5\n</DPL></li>,</ul> </DPL>
Result:
<ul><li><a href="/wiki/index.php?title=Test1&action=edit" class="new" title="Test1">Test1</a></ul> <p> & l t ; /li & g t ;, & l t ;/ul & g t; & l t ;/DPL & g t;bad result :( First
</DPL>closes all
<DPL>tags
Reply
This is not a bug. If you want to nest DPL queries you must use parser function syntax. Be careful to read the manual. To embed angle brackets you must use 'double angle brackets'.
There are dpl scripts on this website which demonstrate how to produce result lists for nested categories, see Test_category_hierarchy, Test_subcategories and C (last paragraph wehere CC is used).
- Gero 23:50, 13 March 2008 (CET)