1
2I wanted to use the Random Page plugin for DokuWiki:
3
4http://www.dokuwiki.org/plugin:random_page
5
6But it didn't work.
7
8So I poked at it a bit... and now it works.
9
10(I even fixed the URLs it returns.)
11
12Jean Marc Massou did all the original code, I just cleaned it up so it would work.
13
14I did email him about it, but I figured I should also publish the code in case someone else wanted to use it.
15
16I also changed it from being named 'random_page' to 'randompage'
17
18(Hooray for open source.)
19
20This code is released under the GPL.
21
22Pete Prodoehl
23pete@rasterweb.net
24http://rasterweb.net/raster/
25Twitter: @raster
26
27
28# Added nsrandompage
29
30usage
31
32?do=randompage
33
34or
35
36?do=nsrandompage