|
RandomInclNote: The recipes here are for PmWiki versions 0.6 and 1.0 only. For PmWiki 2.0 recipes, see Cookbook.
QuestionIs there a way that I can include the text of another page randomly selected from a list of pages? AnswerDiscussionThis script adds markup of the form The script also keeps track of which pages have already been selected, so that multiple instances of This page has this recipe enabled, so that the markup Contributors
ExampleThe following is the text of a page randomly included from the pages listed in PmWiki.DocumentationIndex. Reloading this page will cause different pages to be displayed below. [:randomincl PmWiki.DocumentationIndex:] pmwiki-2.2.0-beta68 -- Last modified by {{Pm}}
|