Difference between revisions of "DPL Example 016"

From FollowTheScore
Jump to: navigation, search
Line 39: Line 39:
 
}}
 
}}
  
== Show all revisions of ''Issues'' starting with "R" which have a date later or equal to April 15, 2009 ==
+
== 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=30
 +
}}
 +
</nowiki></pre>
 +
------------------------
 +
You will get the following result:
 +
{{#dpl:
 +
|namespace=Issue
 +
|addeditdate=true
 +
|allrevisionssince=2009-04-15
 +
|order=ascending
 +
|count=30
 +
}}
 +
 +
== Show the last revision of ''Issues'' that were edited after April 15, 2009 ==
 +
 +
<pre><nowiki>
 +
{{#dpl:
 +
|namespace=Issue
 +
|addeditdate=true
 +
|allrevisionssince=2009-04-15
 
  |ordermethod=lastedit
 
  |ordermethod=lastedit
|allrevisionssince=2009-04-15
+
  |order=ascending
  |order=descending
+
  |count=30
  |count=100
 
 
  |titlematch=R%
 
  |titlematch=R%
 
}}
 
}}
Line 58: Line 79:
 
  |namespace=Issue
 
  |namespace=Issue
 
  |addeditdate=true
 
  |addeditdate=true
 +
|allrevisionssince=2009-04-15
 
  |ordermethod=lastedit
 
  |ordermethod=lastedit
|allrevisionssince=2009-04-15
 
 
  |order=ascending
 
  |order=ascending
  |count=100
+
  |count=30
 
  |titlematch=R%
 
  |titlematch=R%
 
}}
 
}}

Revision as of 12:51, 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=30
}}

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 April 15, 2009

{{#dpl:
 |namespace=Issue
 |addeditdate=true
 |allrevisionssince=2009-04-15
 |ordermethod=lastedit
 |order=ascending
 |count=30
 |titlematch=R%
}}

You will get the following result: