• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item7267: Multiple calls to %RANDOMQUOTE...% produce the same quiote

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension RandomQuotePlugin Enhancement New   n/a  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


I'm not sure if this is a bug in RandomQuotePlugin or a side effect of how TWiki works.

The %RANDOMQUOTE{...}% variable gets expanded to a random quote selected from a RandomQuotes page.

However, if more than one %RANDOMQUOTE{...}% variable is included in a given topic, the quotes presented will be the same.

This may be due to the fact that not enough time has passed for the second (or third...) call to

srand(time ^ 22/7);
to return a different value?

-- TWiki:Main/VickiBrown - 2013-05-23

Summary Multiple calls to %RANDOMQUOTE...% produce the same quiote
ReportedBy TWiki:Main.VickiBrown

SVN Range TWiki-5.1.3-trunk, Mon, 13 May 2013, build 25914
AppliesTo Extension
Component RandomQuotePlugin
Priority Enhancement
CurrentState New


TargetRelease n/a

Topic revision: r1 - 2013-05-23 - VickiBrown
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback