RandomLinkPlugin

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)

Tags:
Created by jurevert on 2007/04/23 17:51
Last modified by Thomas Mortagne on 2007/12/10 17:10

This wiki is licensed under a Creative Commons license
2.3.28624