This plugin isn't bundled with any XWiki product by default.
Plugin contributed by Julien Revert.
This plugin can be downloaded.

RandomLink Plugin

The random link plugin generate a http link to a random page in the current wiki (http://wikiname....WebName/pageName).

Installation

Copy the jar-Archive to the %xwikipath%/WEB-INF/lib/ directory of your xwiki installation and add com.xpn.xwiki.plugin.randomlink.RandomlinkPlugin to the xwiki.cfg.

The RandomlinkPlugin has only one method to call:

$xwiki.randomlink.getRandomURLPage()

Example

\#set($ur=$xwiki.randomlink.getRandomURLPage())
<a href="$ur">Random link...</a> (to $ur)

Result

Random link... (to /xwiki/bin/view/XWiki/randomLink)

Version 4.1 last modified by ThomasMortagne on 10/12/2007 at 17:10

Comments 0

No comments for this document

Attachments 1

JAR
xwiki-plugin-randomlink.jar 1.3
PostedBy: jurevert on 09/12/2007 (8kb )

Creator: jurevert on 2007/04/23 17:51
This wiki is licensed under a Creative Commons license
1.4.1.10194