Wikinews talk:DynamicPageList
Add topicIs it possible to add the date or time in the beginning of each row. I'm thinking of using variables like these:
showyear=false showmonth=false showdate=false showtime=true
It would render a DPL like this:
- 12:57 Live 8 concerts to "End Poverty Now" taking place around the world
- 12:26 Four channels to be launched on Viasat in the Nordic and Baltic countries
- 11:29 CNet News launches reader wiki
- 08:15 MTV debuts cable channel targeting gay market
- 06:12 Judge orders Baltimore City prison to produce plan for improvement
- 05:57 Serbia and Montenegro military announces mandatory service shortening
"false" would be default for all four values. The date and time could use a certain stylesheet class so users can edit their appearence. Any thoughts? Will it be a too hard burden for the servers? Väsk 2 July 2005 14:54 (UTC)
- Hmm, one of the other language wikinews (Can't remember which one) uses whacky js to mix arround the dates. Currently I believe (Don't quote me on this) that date is formated based on your settings in special:preferences. Perhaps a new parameter, dateformat=<blah> would be useful (with it being similar to the {{#time:}} parser function. Bawolff ☺☻ 22:38, 30 January 2009 (UTC)
Date
[edit]I would add a parameter to show only a concrete news date (i.e. date=2006-10-09 would show the news published in october the 10th. 2006). --Mac 06:34, 11 October 2006 (UTC)
- Just do [on wikinews anyways]
<DynamicPageList> Category=Published category=October 10, 2006 </DynamicPageList>
Select articles based on REVISION dates?
[edit]Using dates to select articles seems to be of interest here. I tried to Select articles based on REVISION dates with allrevisionssince= but it didn't seem to do anything. Does anyone know if these types of parameters are available here? Are any working examples available? I would like to update Portal:Current events/Wikipedia so that it selects the current week's articles. Thanks for any tips you may have. RichardF 17:44, 15 January 2008 (UTC)
- I don't believe so (or at least i havn't heard of it before). We use a very; old version of dpl (new one has caching issues or something, I'm not entirely sure). In any case we don't get all the coolness of DPL2. Bawolff ☺☻ 06:35, 16 January 2008 (UTC)
- Okay, when did you say DPL3 was coming out? ;-) RichardF 23:05, 16 January 2008 (UTC)
Extension Question
[edit]Is it possible to display a random list of articles in a category ? 121.247.217.192 (talk) 17:27, 2 July 2009 (UTC)
- Not with the DPL in use on Wikinews. There is another extension, DPL2 which might do this. It has issues with performance and is not recommended for use on a relatively busy wiki. --Brian McNeil / talk 17:42, 2 July 2009 (UTC)
- Its possible to get a list of random pages using the api - [1] but i don't think thats what you are looking for. Bawolff ☺☻ 22:06, 2 July 2009 (UTC)
Why it don't works for Wikipedia. it would be good for Portals--89.232.43.219 (talk) 17:27, 24 August 2009 (UTC)
- The extension is not installed on Wikipedia - that's a decision for their community. --Brian McNeil / talk 17:45, 24 August 2009 (UTC)