Difference between revisions of "DPL Example 016"

From FollowTheScore
Jump to: navigation, search
 
(5 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
  |ordermethod=lastedit
 
  |ordermethod=lastedit
 
  |order=descending
 
  |order=descending
 +
|count=10
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
Line 16: Line 17:
 
  |ordermethod=lastedit
 
  |ordermethod=lastedit
 
  |order=descending
 
  |order=descending
 +
|count=10
 
}}
 
}}
  
Line 37: 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>
 +
{{#dpl:
 +
|namespace=Issue
 +
|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>
 
<pre><nowiki>
Line 43: Line 66:
 
  |namespace=Issue
 
  |namespace=Issue
 
  |addeditdate=true
 
  |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 54: 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 14: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: