Issue:Add "minimum-number-of-revisions" like Criteria for page selection

From FollowTheScore
Jump to: navigation, search
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: