/[pub]/suikawiki/script/default/config.wp2
Suika

Contents of /suikawiki/script/default/config.wp2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (hide annotations) (download)
Sat Mar 20 04:25:49 2004 UTC (20 years, 8 months ago) by wakaba
Branch: MAIN
CVS Tags: suikawiki3-redirect, release-3-0-0, HEAD
Branch point for: paragraph-200404, helowiki, helowiki-2005
Changes since 1.9: +17 -16 lines
Example Namazu configuration added

1 wakaba 1.1 #?SuikaWikiConfig/2.0
2    
3     Plugin:
4     @Name: config
5     @Description:
6     @@@: Per-Wiki Configuration Pseudo-Plugin
7     @@lang:en
8 wakaba 1.7 @License: %%Perl%%
9     @Date.RCS:
10 wakaba 1.10 $Date: 2004/03/13 06:10:00 $
11 wakaba 1.1
12     ViewFragment:
13     @Name: navbar
14     @Order: 20
15     @Formatting:
16 wakaba 1.3 %link-to-wikipage (
17     page => {Wiki//Page//Create},
18     label => {%link-to-it (
19     label => "%res(name=>GoToCreatePage);"p,
20     description => "%res(name=>GoToCreatePageLong);"p,
21     );},
22     );
23     %link-to-wikipage (
24     page => {Wiki//Page//Search},
25     label => {%link-to-it (
26 wakaba 1.1 label=>"%res(name=>GoToSearchPage);"p,
27 wakaba 1.3 description=>"%res(name=>GoToSearchPageLong);"p,
28     );},
29     rel => search,
30     );
31 wakaba 1.5
32 wakaba 1.1 ViewFragment:
33     @Name: links
34     @Formatting:
35 wakaba 1.3 %link-wiki(page=>"Wiki//News",rel=>news,
36     description=>"%res(name=>GoToWikiNewsLink);"p);
37     %link-wiki(page=>"Wiki//Help",rel=>help,
38     description=>"%res(name=>GoToWikiHelpLink);"p);
39     %link-wiki(page=>"Wiki//Page//License",rel=>copyright,
40     description=>"%res(name=>GoToWikiPageLicenseLink);"p);
41 wakaba 1.1
42 wakaba 1.3 %link-wiki(page=>"Wiki//Page//Search",rel=>search,
43 wakaba 1.5 description=>"%res(name=>GoToSearchPageLink);"p);
44 wakaba 1.7
45 wakaba 1.5 ## TODO: Resource, URI
46     %link-to-resource (
47     uri => {javascript:var%20WikiName=prompt('Please%20input%20the%20WikiName:','','Jump%20to%20SuikaWiki');if(WikiName)%7B_content.location.href='wiki%3F'+encodeURIComponent(WikiName)%7D},
48     rel => jump,
49     class => wiki-cmd,
50     label => {%html-link (
51     description => {%res(name=>JumpToLink);}p,
52     );},
53     );
54     %link-to-resource (
55     uri => {javascript:var%20WikiName=prompt('Please%20input%20the%20WikiName:','','Jump%20to%20SuikaWiki');if(WikiName)%7B_content.location.href='wiki%3Fmycmd=edit;mypage='+encodeURIComponent(WikiName)%7D},
56     rel => jump,
57     class => wiki-cmd,
58     label => {%html-link (
59     description => {%res(name=>JumpToEditLink);}p,
60     );},
61 wakaba 1.2 );
62    
63 wakaba 1.1 ViewFragment:
64     @Name: ws--footer
65     @Formatting:
66     %link-to-wikipage (
67     page => {Wiki//Page//License},
68 wakaba 1.3 label => {%link-to-it (
69     label => {%res (name => {Footer:License:SeeLicensePage});}p,
70     description => {%res (name => {Footer:License:SeeLicensePageLong});}p,
71     );},
72 wakaba 1.1 );
73 wakaba 1.2
74     ViewFragment:
75     @Template[list]:
76     we--edit-body
77     we--conflict-body
78     @Order: 1000
79     @Description:
80     @@@: WikiPage editing guide
81     @@lang:en
82     @Formatting:
83     %block (
84     id => edit-help,
85 wakaba 1.8 content => {%read(page=>{Wiki//Edit//Help});}p,
86 wakaba 1.2 );
87    
88 wakaba 1.1 ViewFragment:
89     @Name: we--edit
90     @Order: -100
91     @Formatting:
92 wakaba 1.3 %line(content=>{
93 wakaba 1.1 %submit(accesskey=>S,label=>{%res(name=>{Edit:Save});}p);
94 wakaba 1.4 [%wpp--next-anchor-index;]
95     }p);
96 wakaba 1.1
97     ViewFragment:
98     @Name: we--edit
99     @Order: -10
100 wakaba 1.3 @Formatting: %line(content=>{
101 wakaba 1.1 ViewFragment:
102     @Name: we--edit
103     @Order: 10
104     @Formatting: }p);
105    
106     ViewFragment:
107     @Name: we--edit
108     @Order: 150
109     @Formatting:
110 wakaba 1.3 %line(content=>{
111 wakaba 1.1
112     ViewFragment:
113     @Name: we--edit
114     @Order: 250
115     @Formatting:
116 wakaba 1.6 %mode-after-edit-selection (
117     description => {%res (name => {Edit:SaveAnd:Description});}p,
118     );
119 wakaba 1.1
120 wakaba 1.4 %we--update-lastmodified-datetime;
121 wakaba 1.1 }p);
122    
123 wakaba 1.10 ## If you use Namazu plugin, use this configuration.
124     #
125     #FormattingRuleAlias:
126     # @Category[list]:
127     # view
128     # view-resource
129     # form-input
130     # @Name: search-result
131     # @Reference:
132     # @@Category: view
133     # @@Name: namazu-search
134    
135 wakaba 1.3 Resource:
136     @Footer:License:SeeLicensePage:
137     @@@: %char (ucs => {U+00A9});
138     @Footer:License:SeeLicensePageLong:
139     @@@: See license document
140     @@lang:en
141 wakaba 1.8 @GoToCreatePage:
142     @@@: Create
143     @@lang: en
144     @GoToCreatePageLong:
145     @@@: Create a new WikiPage
146     @@lang: en
147     @GoToSearchPage:
148     @@@: Search
149     @@lang: en
150     @GoToSearchPageLink:
151     @@@: Search in this wiki
152     @@lang: en
153     @GoToSearchPageLong:
154     @@@: Search word in this wiki
155     @@lang: en
156     @GoToWikiHelpLink:
157     @@@: Help page
158     @@lang: en
159     @GoToWikiPageLicenseLink:
160 wakaba 1.10 @@@: License for contents of this wiki
161 wakaba 1.8 @@lang: en
162     @GoToWikiNewsLink:
163     @@@: News on this wiki
164     @@lang: en
165     @JumpToLink:
166     @@@: Open a WikiPage...
167     @@lang: en
168     @JumpToEditLink:
169     @@@: Open a WikiPage in editing mode...
170     @@lang: en
171 wakaba 1.10 @StyleSet:Name:SuikaWiki:
172     @@@: SuikaWiki
173     @@lang: ja
174 wakaba 1.8 @WikiForm:Create:Name:
175     @@@: WikiName
176     @@lang: en
177     @WikiForm:Search:Name:
178     @@@: Keyword
179     @@lang: en
180    
181    
182    
183 wakaba 1.2
184 wakaba 1.4
185    

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24