Difference between revisions of "DPL Example 016"

From FollowTheScore
Jump to: navigation, search
(Undo revision 14795 by Saq (Talk))
 
(4 intermediate revisions by the same user not shown)
Line 39: Line 39:
 
}}
 
}}
  
== Show ''Issues'' which were updated since a given date (April 15) ==
+
== Show all revisions of ''Issues'' which have an edit date later or equal to April 15, 2009 ==
  
 
<pre><nowiki>
 
<pre><nowiki>
Line 45: Line 45:
 
  |namespace=Issue
 
  |namespace=Issue
 
  |addeditdate=true
 
  |addeditdate=true
 +
|allrevisionssince=2009-04-15
 +
|order=ascending
 +
|count=7
 +
}}
 +
</nowiki></pre>
 +
------------------------
 +
You will get the following result:
 +
{{#dpl:
 +
|namespace=Issue
 +
|addeditdate=true
 +
|allrevisionssince=2009-04-15
 +
|order=ascending
 +
|count=7
 +
}}
 +
 +
== Show the last revision of ''Issues'' that were edited after July 1, 2010 ==
 +
 +
<pre><nowiki>
 +
{{#dpl:
 +
|namespace=Issue
 +
|addeditdate=true
 +
|allrevisionssince=2010-07-01
 
  |ordermethod=lastedit
 
  |ordermethod=lastedit
|allrevisionssince=2009-04-15
+
  |order=ascending
  |order=descending
 
|count=10
 
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
Line 56: Line 76:
 
  |namespace=Issue
 
  |namespace=Issue
 
  |addeditdate=true
 
  |addeditdate=true
 +
|allrevisionssince=2010-07-01
 
  |ordermethod=lastedit
 
  |ordermethod=lastedit
|allrevisionssince=2009-04-15
 
 
  |order=ascending
 
  |order=ascending
|count=10
 
 
}}
 
}}

Latest revision as of 13:07, 5 February 2011

Show Issues which were updated recently

{{#dpl:
 |namespace=Issue
 |addeditdate=true
 |ordermethod=lastedit
 |order=descending
 |count=10
}}

You will get the following result:

Show Issues which have not been touched for a long time

{{#dpl:
 |namespace=Issue
 |addeditdate=true
 |ordermethod=lastedit
 |count=10
}}

You will get the following result:

Show all revisions of Issues which have an edit date later or equal to April 15, 2009

{{#dpl:
 |namespace=Issue
 |addeditdate=true
 |allrevisionssince=2009-04-15
 |order=ascending
 |count=7
}}

You will get the following result:

Extension:DynamicPageList (DPL), version 3.2.1: Error: The paramater 'addeditdate=true' must be used with 'ordermethod=[ firstedit | lastedit ]'


Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.

Show the last revision of Issues that were edited after July 1, 2010

{{#dpl:
 |namespace=Issue
 |addeditdate=true
 |allrevisionssince=2010-07-01
 |ordermethod=lastedit
 |order=ascending
}}

You will get the following result: