/[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 - (hide annotations) (download)
Sun Oct 5 11:24:52 2003 UTC (22 years, 9 months ago) by wakaba
Branch: MAIN
New

1 wakaba 1.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 <[email protected]>
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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24