/[pub]/suikawiki/script/misc/plugins/RandomJump.wp2
Suika

Contents of /suikawiki/script/misc/plugins/RandomJump.wp2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Oct 5 11:24:52 2003 UTC (21 years, 1 month ago) by wakaba
Branch: MAIN
New

1 #?SuikaWikiConfig/2.0
2
3 Plugin:
4 @Name: RandomJump
5 @Description:
6 This plugin module provides "random jump" functions
7 to select wiki pages randomly.
8 @License: %%GPL%%
9 @Author[list]:
10 Wakaba <w@suika.fam.cx>
11 @Date.RCS: $Date:$
12
13 ViewDefinition:
14 @Mode: RandomJump
15 @Condition:
16 @@output: http-cgi
17 @Description:Redirection to a wiki page selected randomly
18 @method:
19 @@@:
20 $self->{view}->init_db;
21 my @list = $self->{view}->{wiki}->{db}->keys ('content');
22 &main::_http_see_other (page => $list[rand @list]);
23 @@Name: main

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24