Difference between revisions of "DPL Example 016"

From FollowTheScore
Jump to: navigation, search
 
Line 60: Line 60:
 
}}
 
}}
  
== Show the last revision of ''Issues'' that were edited after April 15, 2009 ==
+
== Show the last revision of ''Issues'' that were edited after July 1, 2010 ==
  
 
<pre><nowiki>
 
<pre><nowiki>
Line 66: Line 66:
 
  |namespace=Issue
 
  |namespace=Issue
 
  |addeditdate=true
 
  |addeditdate=true
  |allrevisionssince=2009-04-15
+
  |allrevisionssince=2010-07-01
 
  |ordermethod=lastedit
 
  |ordermethod=lastedit
 
  |order=ascending
 
  |order=ascending
|count=30
 
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
Line 75: Line 74:
 
You will get the following result:
 
You will get the following result:
 
{{#dpl:
 
{{#dpl:
|debug=4
 
 
  |namespace=Issue
 
  |namespace=Issue
 
  |addeditdate=true
 
  |addeditdate=true
  |allrevisionssince=2009-04-15
+
  |allrevisionssince=2010-07-01
 
  |ordermethod=lastedit
 
  |ordermethod=lastedit
 
  |order=ascending
 
  |order=ascending
|count=30
 
 
}}
 
}}

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: