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 |
|
|
@License: %%Perl%% |
9 |
|
|
@Date.RCS: |
10 |
wakaba |
1.6 |
$Date: 2004/07/25 06:55:01 $ |
11 |
wakaba |
1.1 |
|
12 |
|
|
ViewFragment: |
13 |
|
|
@Name: navbar |
14 |
|
|
@Order: 20 |
15 |
|
|
@Formatting: |
16 |
|
|
%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 |
|
|
label=>"%res(name=>GoToSearchPage);"p, |
27 |
|
|
description=>"%res(name=>GoToSearchPageLong);"p, |
28 |
|
|
);}, |
29 |
|
|
rel => search, |
30 |
|
|
); |
31 |
|
|
|
32 |
|
|
ViewFragment: |
33 |
|
|
@Name: links |
34 |
|
|
@Formatting: |
35 |
|
|
%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 |
|
|
|
42 |
|
|
%link-wiki(page=>"Wiki//Page//Search",rel=>search, |
43 |
|
|
description=>"%res(name=>GoToSearchPageLink);"p); |
44 |
wakaba |
1.2 |
|
45 |
|
|
%link-to-resource ( |
46 |
|
|
iw-name => {wiki-content-in-cvs-repository}, |
47 |
|
|
iw-parameter => {%page-name;}p, |
48 |
|
|
rel => history, |
49 |
|
|
class => wiki-cmd, |
50 |
|
|
label => {%html-link ( |
51 |
|
|
description => {%res (name => ViewHistoryOfThisPageLink);}p, |
52 |
|
|
);}, |
53 |
wakaba |
1.5 |
); |
54 |
|
|
|
55 |
|
|
%html--meta-keywords; |
56 |
|
|
%html-meta ( |
57 |
|
|
name => {description}, |
58 |
|
|
content => {%page-headline;}p, |
59 |
wakaba |
1.2 |
); |
60 |
wakaba |
1.1 |
|
61 |
wakaba |
1.2 |
ViewFragment: |
62 |
|
|
@Name: links |
63 |
|
|
@Order: 100010 |
64 |
|
|
@Formatting: |
65 |
wakaba |
1.1 |
## TODO: Resource, URI |
66 |
|
|
%link-to-resource ( |
67 |
|
|
uri => {javascript:var%20WikiName=prompt('Please%20input%20the%20WikiName:','','Jump%20to%20SuikaWiki');if(WikiName)%7B_content.location.href='wiki%3F'+encodeURIComponent(WikiName)%7D}, |
68 |
|
|
rel => jump, |
69 |
|
|
class => wiki-cmd, |
70 |
|
|
label => {%html-link ( |
71 |
|
|
description => {%res(name=>JumpToLink);}p, |
72 |
|
|
);}, |
73 |
|
|
); |
74 |
|
|
%link-to-resource ( |
75 |
|
|
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}, |
76 |
|
|
rel => jump, |
77 |
|
|
class => wiki-cmd, |
78 |
|
|
label => {%html-link ( |
79 |
|
|
description => {%res(name=>JumpToEditLink);}p, |
80 |
|
|
);}, |
81 |
|
|
); |
82 |
|
|
|
83 |
|
|
ViewFragment: |
84 |
wakaba |
1.6 |
@Name: ws--post-content |
85 |
|
|
@Description: |
86 |
|
|
@@@: After content body -- License information |
87 |
|
|
@@lang:en |
88 |
|
|
@Order: 600 |
89 |
|
|
@Formatting: |
90 |
|
|
%section ( |
91 |
|
|
id => LICENSE, |
92 |
|
|
title => {%res(name=>{Section:License:Title});}p, heading, |
93 |
|
|
content => { |
94 |
|
|
%res (name => {Section:License:BeforeDescriptions}); |
95 |
|
|
%wr--propread (prop => license); |
96 |
|
|
%res (name => {Section:License:AfterDescriptions}); |
97 |
|
|
}p, |
98 |
|
|
); |
99 |
|
|
|
100 |
|
|
|
101 |
|
|
ViewFragment: |
102 |
wakaba |
1.1 |
@Name: ws--footer |
103 |
|
|
@Formatting: |
104 |
|
|
%link-to-wikipage ( |
105 |
|
|
page => {Wiki//Page//License}, |
106 |
|
|
label => {%link-to-it ( |
107 |
|
|
label => {%res (name => {Footer:License:SeeLicensePage});}p, |
108 |
|
|
description => {%res (name => {Footer:License:SeeLicensePageLong});}p, |
109 |
|
|
);}, |
110 |
|
|
); |
111 |
|
|
|
112 |
|
|
ViewFragment: |
113 |
|
|
@Template[list]: |
114 |
|
|
we--edit-body |
115 |
|
|
we--conflict-body |
116 |
|
|
@Order: 1000 |
117 |
|
|
@Description: |
118 |
|
|
@@@: WikiPage editing guide |
119 |
|
|
@@lang:en |
120 |
|
|
@Formatting: |
121 |
|
|
%block ( |
122 |
|
|
id => edit-help, |
123 |
|
|
content => {%read(page=>{Wiki//Edit//Help});}p, |
124 |
|
|
); |
125 |
wakaba |
1.3 |
|
126 |
|
|
FormattingRuleAlias: |
127 |
|
|
@Category[list]: |
128 |
|
|
view |
129 |
|
|
view-resource |
130 |
|
|
form-input |
131 |
|
|
@Name: search-result |
132 |
|
|
@Reference: |
133 |
|
|
@@Category: view |
134 |
|
|
@@Name: namazu-search |
135 |
wakaba |
1.1 |
|
136 |
wakaba |
1.4 |
FormattingRuleAlias: |
137 |
|
|
@Category[list]: |
138 |
|
|
form-template |
139 |
|
|
@Name: name |
140 |
|
|
@Reference: |
141 |
|
|
@@Category: form-template |
142 |
|
|
@@Name: bbs--2ch-name |
143 |
wakaba |
1.1 |
|
144 |
|
|
ViewFragment: |
145 |
|
|
@Name: we--edit |
146 |
|
|
@Order: -100 |
147 |
|
|
@Formatting: |
148 |
|
|
%line(content=>{ |
149 |
|
|
%submit(accesskey=>S,label=>{%res(name=>{Edit:Save});}p); |
150 |
|
|
[%wpp--next-anchor-index;] |
151 |
|
|
}p); |
152 |
|
|
|
153 |
|
|
ViewFragment: |
154 |
|
|
@Name: we--edit |
155 |
|
|
@Order: -10 |
156 |
|
|
@Formatting: %line(content=>{ |
157 |
|
|
ViewFragment: |
158 |
|
|
@Name: we--edit |
159 |
|
|
@Order: 10 |
160 |
|
|
@Formatting: }p); |
161 |
|
|
|
162 |
|
|
ViewFragment: |
163 |
|
|
@Name: we--edit |
164 |
|
|
@Order: 150 |
165 |
|
|
@Formatting: |
166 |
|
|
%line(content=>{ |
167 |
|
|
|
168 |
|
|
ViewFragment: |
169 |
|
|
@Name: we--edit |
170 |
|
|
@Order: 250 |
171 |
|
|
@Formatting: |
172 |
|
|
%mode-after-edit-selection ( |
173 |
|
|
description => {%res (name => {Edit:SaveAnd:Description});}p, |
174 |
|
|
); |
175 |
wakaba |
1.4 |
|
176 |
|
|
%check (id => we--touch, |
177 |
|
|
label => {%res (name => {Edit:UpdateTimeStamp});}p, |
178 |
|
|
description => {%res (name => {Edit:UpdateTimeStamp:Description});}p, |
179 |
|
|
default); |
180 |
wakaba |
1.1 |
}p); |
181 |
|
|
|
182 |
wakaba |
1.6 |
ViewFragment: |
183 |
|
|
@Name: we--edit |
184 |
|
|
@Order: 1250 |
185 |
|
|
@Description: |
186 |
|
|
@@lang:en |
187 |
|
|
@@@: License Information that should be read just before submitting. |
188 |
|
|
@Formatting: |
189 |
|
|
%res (name => {Edit:License:Descriptions}); |
190 |
|
|
|
191 |
wakaba |
1.1 |
Resource: |
192 |
wakaba |
1.6 |
@Edit:License:Descriptions: |
193 |
|
|
@@lang:en |
194 |
|
|
@@@: |
195 |
|
|
%paragraph (content => { |
196 |
|
|
Note: Submitting any changes means you understand and accept |
197 |
|
|
license terms written in (or referred from) |
198 |
|
|
%link-to-wikipage (page => {Wiki//Page//License}, |
199 |
|
|
label => {%link-to-it (label => {Wiki//Page//License});});. |
200 |
|
|
}p); |
201 |
|
|
%paragraph (content => { |
202 |
|
|
WARNING: Don't submit copyrighted work without permission. |
203 |
|
|
If you are not sure whether it is allowed or not, don't submit. |
204 |
|
|
}); |
205 |
|
|
%paragraph (content => { |
206 |
|
|
You MUST add license information to the License section |
207 |
|
|
just after submission (%link-to-wikipage (mode => pe--propedit, |
208 |
|
|
label => {%link-to-it (label => {Edit License Information});});) |
209 |
|
|
if your submission is copy of copyrighted work (and if you can |
210 |
|
|
publish it). |
211 |
|
|
}p); |
212 |
wakaba |
1.4 |
@Edit:UpdateTimeStamp: |
213 |
|
|
@@@: Update timestamp |
214 |
|
|
@@lang: en |
215 |
|
|
@Edit:UpdateTimeStamp:Description: |
216 |
|
|
@@@: Update Last-Modified date-time to "now" |
217 |
|
|
@@lang: en |
218 |
wakaba |
1.1 |
@Footer:License:SeeLicensePage: |
219 |
|
|
@@@: %char (ucs => {U+00A9}); |
220 |
|
|
@Footer:License:SeeLicensePageLong: |
221 |
|
|
@@@: See license document |
222 |
|
|
@@lang:en |
223 |
|
|
@GoToCreatePage: |
224 |
|
|
@@@: Create |
225 |
|
|
@@lang: en |
226 |
|
|
@GoToCreatePageLong: |
227 |
|
|
@@@: Create a new WikiPage |
228 |
|
|
@@lang: en |
229 |
|
|
@GoToSearchPage: |
230 |
|
|
@@@: Search |
231 |
|
|
@@lang: en |
232 |
|
|
@GoToSearchPageLink: |
233 |
|
|
@@@: Search in this wiki |
234 |
|
|
@@lang: en |
235 |
|
|
@GoToSearchPageLong: |
236 |
|
|
@@@: Search word in this wiki |
237 |
|
|
@@lang: en |
238 |
|
|
@GoToWikiHelpLink: |
239 |
|
|
@@@: Help page |
240 |
|
|
@@lang: en |
241 |
|
|
@GoToWikiPageLicenseLink: |
242 |
wakaba |
1.4 |
@@@: License for contents of this wiki |
243 |
wakaba |
1.1 |
@@lang: en |
244 |
|
|
@GoToWikiNewsLink: |
245 |
|
|
@@@: News on this wiki |
246 |
|
|
@@lang: en |
247 |
|
|
@JumpToLink: |
248 |
|
|
@@@: Open a WikiPage... |
249 |
|
|
@@lang: en |
250 |
|
|
@JumpToEditLink: |
251 |
|
|
@@@: Open a WikiPage in editing mode... |
252 |
|
|
@@lang: en |
253 |
wakaba |
1.6 |
@Section:License:AfterDescriptions: |
254 |
|
|
@Section:License:BeforeDescriptions: |
255 |
|
|
@@lang:en |
256 |
|
|
@@@: |
257 |
|
|
%paragraph (content => { |
258 |
|
|
%char (ucs => {U+00A9}); Authors, et al. %last-modified; |
259 |
|
|
}p); |
260 |
|
|
%paragraph (content => { |
261 |
|
|
For more information about copyright and other rights, see |
262 |
|
|
%link-to-wikipage (page => {Wiki//Page//License}, |
263 |
|
|
label => {%link-to-it (label => {Wiki//Page//License});});. |
264 |
|
|
}p); |
265 |
|
|
@Section:License:Title: |
266 |
|
|
@@lang:en |
267 |
|
|
@@@: License |
268 |
wakaba |
1.4 |
@StyleSet:Name:SuikaWiki: |
269 |
|
|
@@@: SuikaWiki |
270 |
|
|
@@lang: ja |
271 |
wakaba |
1.1 |
@WikiForm:Create:Name: |
272 |
|
|
@@@: WikiName |
273 |
|
|
@@lang: en |
274 |
|
|
@WikiForm:Search:Name: |
275 |
|
|
@@@: Keyword |
276 |
|
|
@@lang: en |
277 |
|
|
|
278 |
|
|
|
279 |
|
|
|
280 |
|
|
|
281 |
|
|
|
282 |
|
|
|