Difference between revisions of "Issue:Add "minimum-number-of-revisions" like Criteria for page selection"
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
|Version = 1.7.4 | |Version = 1.7.4 | ||
|Description = useful for generating a 'recent changes' content which does exclude newly generated pages (pages with only a single revision) | |Description = useful for generating a 'recent changes' content which does exclude newly generated pages (pages with only a single revision) | ||
− | |Status = | + | |Status = closed |
}} | }} | ||
Line 30: | Line 30: | ||
== Reply == | == Reply == | ||
− | I added <tt>minrevisions</tt> and <tt>maxrevisions</tt> to the latest DPL version (1.7.8). Good ideas are always welcome. Please place a link to your wiki on the page for [[DPL:Websites_using_DPL]]. [[User:Gero|Gero]] 14:39, 14 May 2009 (UTC) | + | I added <tt>[[minrevisions]]</tt> and <tt>[[maxrevisions]]</tt> to the latest DPL version (1.7.8). Good ideas are always welcome. Please place a link to your wiki on the page for [[DPL:Websites_using_DPL]]. [[User:Gero|Gero]] 14:39, 14 May 2009 (UTC) |
+ | |||
+ | The following statement shows all pages in the main namespace of this wiki which have more than 50 revisions: | ||
+ | <dpl> | ||
+ | namespace= | ||
+ | minrevisions=50 | ||
+ | </dpl> |
Latest revision as of 16:55, 14 May 2009
Description: | useful for generating a 'recent changes' content which does exclude newly generated pages (pages with only a single revision) |
Extension / Version: | DPL / 1.7.4 |
Type / Status: | Feature / closed |
Problem
For our German Wiki at http://www.thomas-krenn.com/de/wiki/Hauptseite I would like to generate a box with 'recent changes' content which does not list newly generated pages (pages that have only a single revision/version). Reason: we already have a box with 'newest articles' ("Neueste Artikel"), so new articles would show up in both boxes.
I can get a 'recent changes' content with the following code, but I would need an additional criteria like "minimum-number-of-revisions=2" to avoid new pages of being listed:
<DPL> namespace= columns=1 ordermethod=lastedit minoredits=exclude order=descending count=5 shownamespace=yes nottitlematch=Hauptseite|Produkt-News:% addeditdate=true userdateformat=(d.m.Y) format=,\n* [[%PAGE%|%TITLE%]] %DATE%,, </DPL>
btw: thank you for this great Mediawiki extension!
Reply
I added minrevisions and maxrevisions to the latest DPL version (1.7.8). Good ideas are always welcome. Please place a link to your wiki on the page for DPL:Websites_using_DPL. Gero 14:39, 14 May 2009 (UTC)
The following statement shows all pages in the main namespace of this wiki which have more than 50 revisions: