Difference between revisions of "Issue:Randomseed"

From FollowTheScore
Jump to: navigation, search
(Problem)
Line 2: Line 2:
 
  |Type        = Change Request
 
  |Type        = Change Request
 
  |Extension  =  
 
  |Extension  =  
  |Version    = next
+
  |Version    = 1.5.3
 
  |Description = Add <tt>randomseed=</tt>''number''
 
  |Description = Add <tt>randomseed=</tt>''number''
  |Status      = open
+
  |Status      = resolved
 
}}
 
}}
  
Line 22: Line 22:
  
 
== Reply ==
 
== Reply ==
 +
Completely agree. Is now part of 1.5.3
 +
:[[User:Gero|Gero]] 22:35, 15 November 2007 (CET)

Revision as of 22:35, 15 November 2007

Description: Add randomseed=number
Extension / Version:   /   1.5.3
Type / Status: Change Request   /   resolved

Problem

When using the DPL-extension to build semirandom sets of articles, like a main page with changing articles, the set of randomly choosen articles should be kept static for a spesific time period. An easy fix for this is to add a random seed that changes i a predictable way, like once a week or once a day.

Using randomseed will be something like

{{#dpl:
  category=Foo|
  randomseed={{#time:Ymd}}|
  randomcount=5
}}

See also 11891 Add randomseed for a patch. Jeblad 03:41, 14 November 2007 (CET)

Reply

Completely agree. Is now part of 1.5.3

Gero 22:35, 15 November 2007 (CET)