Issue:Is it possible to restrict lists by date like: lastedit older than 3 months
From FollowTheScore
Description: | request of filtering option to show e.g. only lastedit that are older than 3 months |
Extension / Version: | DPL / {{{Version}}} |
Type / Status: | Change Request / open |
Problem
I do have many categories and many articles in those categories. As I want to filter my lists by age to show pages that are getting old, I want to filter these lists to show only those pages that haven't been updated for a while.
Is this possible or could such a functionality be implemented? Thanks a lot for this great extension and your support!!!
Reply
To show the most recent updates of Issues, for example, you can do something like this:
{{#dpl: |namespace=Issue |addeditdate=true |ordermethod=lastedit |order=descending |count=20 }}
You will get the following result:
- 2014-09-04 06:50:00 Issue:Modifiedby and createdby produce inefficient SQL
- 2013-09-13 19:50:38 Issue:DPL references obsolete Cite mInCnt property
- 2013-07-19 17:47:56 Issue:Dplchapter crashes
- 2013-06-13 16:09:52 Issue:LanguageGetMagic is deprecated
- 2013-04-23 16:37:47 Issue:New parameter: replaceinsortkey?
- 2013-04-23 16:33:20 Issue:Category browsing with title from / until
- 2013-04-23 16:32:36 Issue:Child DPL doesn't works
- 2013-04-12 06:56:19 Issue:Order by title does not properly sort in descending
- 2013-04-12 06:54:40 Issue:Section inclusion no longer works
- 2013-04-12 06:54:16 Issue:DPL error code "DynamicPageList2.php on line 2238"
- 2013-04-12 06:53:56 Issue:Dpl 1.9.0 throws fatal error with MW 1.10.1
- 2013-04-12 06:53:40 Issue:Crash on Postgres-based Mediawiki (patch included)
- 2013-04-12 06:51:57 Issue:Titlematch with ignorecase brings no results
- 2013-04-12 06:44:50 Issue:Include section always shows all articles in category
- 2013-03-14 20:28:26 Issue:Ampersand fails in category names
- 2012-03-16 22:18:09 Issue:DPLMain calls private Title function prefix()
- 2012-02-06 17:00:28 Issue:Class 'Image' not found
- 2012-01-13 14:20:48 Issue:Arbitrary adding of empty paragraph
- 2011-12-31 20:40:38 Issue:DPL 2.0 announced but only 1.8.9 is downloadable
- 2011-11-20 17:27:05 Issue:Surrogate template default syntax
In a similar way you can show those Issues which have not been updated for a long time:
{{#dpl: |namespace=Issue |addeditdate=true |ordermethod=lastedit |count=20 }}
You will get the following result:
- 2007-09-29 13:53:37 Issue:Chinese message texts are wrong
- 2007-09-29 22:12:12 Issue:Include positional template parameter
- 2007-09-29 22:12:43 Issue:Including Sections
- 2007-09-30 16:14:21 Issue:DPL and Glossary clashing
- 2007-10-09 22:48:21 Issue:Inconsistent node height
- 2007-10-09 22:49:49 Issue:Surprising bahaviour of forcedir layout
- 2007-10-09 22:51:01 Issue:Change alignment procedure for labels
- 2007-10-09 22:54:59 Issue:Allow vertical alignment of node labels
- 2007-10-12 11:58:36 Issue:Respect multiple borders in layout
- 2007-10-12 23:44:43 Issue:Minor changes in border affect forcedir layout strongly
- 2007-10-20 08:47:13 Issue:Call - passing a variable twice
- 2007-10-20 16:02:39 Issue:Simply does not work
- 2007-10-20 20:27:06 Issue:Subgraph dimensions exceed graph size
- 2007-10-21 19:16:17 Issue:Iconpath for svg
- 2007-10-26 00:12:08 Issue:Error message - undefined Index 100
- 2007-10-28 07:53:10 Issue:Layout irregularity with bent edges
- 2007-10-28 08:15:44 Issue:Phenomena with icons
- 2007-10-28 10:43:39 Issue:Assigning absolute position of 0-0
- 2007-10-28 13:51:42 Issue:Returns 0 results even when resultsheader is used
- 2007-10-28 13:53:29 Issue:AddContribution missing prefix
- Gero 06:41, 12 May 2009 (UTC)