36 |
description=>"%res(name=>GoToWikiNewsLink);"p); |
description=>"%res(name=>GoToWikiNewsLink);"p); |
37 |
%link-wiki(page=>"Wiki//Help",rel=>help, |
%link-wiki(page=>"Wiki//Help",rel=>help, |
38 |
description=>"%res(name=>GoToWikiHelpLink);"p); |
description=>"%res(name=>GoToWikiHelpLink);"p); |
39 |
|
%link-to-resource ( |
40 |
|
uri => {#LICENSE}, |
41 |
|
rel => copyright, |
42 |
|
label => {%html-link ( |
43 |
|
class => wiki-cmd, |
44 |
|
description => {%res (name => GoToWikiPageLicenseLink);}p, |
45 |
|
);}, |
46 |
|
); |
47 |
%link-wiki(page=>"Wiki//Page//License",rel=>copyright, |
%link-wiki(page=>"Wiki//Page//License",rel=>copyright, |
48 |
description=>"%res(name=>GoToWikiPageLicenseLink);"p); |
description=>"%res(name=>GoToWikiPageLicenseLink);"p); |
49 |
|
|
51 |
description=>"%res(name=>GoToSearchPageLink);"p); |
description=>"%res(name=>GoToSearchPageLink);"p); |
52 |
|
|
53 |
%link-to-resource ( |
%link-to-resource ( |
54 |
|
uri => {%sw--this-uri;}p, |
55 |
|
rel => bookmark, |
56 |
|
label => {%html-link ( |
57 |
|
description => {%res (name => GoToMyselfLink);}p, |
58 |
|
);}, |
59 |
|
); |
60 |
|
|
61 |
|
%link-to-resource ( |
62 |
iw-name => {wiki-content-in-cvs-repository}, |
iw-name => {wiki-content-in-cvs-repository}, |
63 |
iw-parameter => {%page-name;}p, |
iw-parameter => {%page-name;}p, |
64 |
rel => history, |
rel => history, |
|
class => wiki-cmd, |
|
65 |
label => {%html-link ( |
label => {%html-link ( |
66 |
|
class => wiki-cmd, |
67 |
description => {%res (name => ViewHistoryOfThisPageLink);}p, |
description => {%res (name => ViewHistoryOfThisPageLink);}p, |
68 |
);}, |
);}, |
69 |
); |
); |
70 |
|
|
71 |
|
%html--meta-keywords; |
72 |
|
%html-meta ( |
73 |
|
name => {description}, |
74 |
|
content => {%page-headline;}p, |
75 |
|
); |
76 |
|
|
77 |
ViewFragment: |
ViewFragment: |
78 |
@Name: links |
@Name: links |
97 |
); |
); |
98 |
|
|
99 |
ViewFragment: |
ViewFragment: |
100 |
|
@Name:ws--pre-content |
101 |
|
@Description: |
102 |
|
@@@: Before content body -- message |
103 |
|
@@lang:en |
104 |
|
@Order:19 |
105 |
|
@Formatting: |
106 |
|
%res (name => {Wiki:MsgFromAdmin}); |
107 |
|
|
108 |
|
ViewFragment: |
109 |
|
@Name: ws--pre-content |
110 |
|
@Description: |
111 |
|
@@@: Before content body -- is obsoleted? |
112 |
|
@@lang:en |
113 |
|
@Order: 20 |
114 |
|
@Formatting: |
115 |
|
%m--wikipage-obsolete ( |
116 |
|
desc-before => {%res (name => {WikiPage:Obsolete:DescBefore});}p, |
117 |
|
desc-after => {%res (name => {WikiPage:Obsolete:DescAfter});}p, |
118 |
|
); |
119 |
|
|
120 |
|
ViewFragment: |
121 |
|
@Name: ws--post-content |
122 |
|
@Description: |
123 |
|
@@@: After content body -- License information |
124 |
|
@@lang:en |
125 |
|
@Order: 600 |
126 |
|
@Formatting: |
127 |
|
%section ( |
128 |
|
id => LICENSE, |
129 |
|
title => {%res(name=>{Section:License:Title});}p, heading, |
130 |
|
content => { |
131 |
|
%res (name => {Section:License:BeforeDescriptions}); |
132 |
|
%wr--propread (prop => license); |
133 |
|
%res (name => {Section:License:AfterDescriptions}); |
134 |
|
}p, |
135 |
|
); |
136 |
|
|
137 |
|
FormattingRule: |
138 |
|
@Category[list]: |
139 |
|
view |
140 |
|
view-resource |
141 |
|
page-link |
142 |
|
link-to-resource |
143 |
|
form-input |
144 |
|
form-template |
145 |
|
@Name: sw--this-uri |
146 |
|
@Description: |
147 |
|
@@@: "This WikiPage" URI reference (experimetnal) |
148 |
|
@@lang:en |
149 |
|
@Formatting: |
150 |
|
require Encode; |
151 |
|
require URI; |
152 |
|
my $page = Encode::encode |
153 |
|
('utf8', Encode::decode |
154 |
|
('euc-jp', $o->{wiki}->{var}->{page}->stringify (wiki => $o->{wiki}))); |
155 |
|
$page =~ s#([^A-Za-z0-9._~-])#sprintf '%%%02X', ord $1#ge; |
156 |
|
$page =~ s#%2F%2F#/#g; |
157 |
|
if ($page =~ m#%2F#) { |
158 |
|
$page = $o->{wiki}->{var}->{page}->stringify (wiki => $o->{wiki}); |
159 |
|
$page =~ s#([^A-Za-z0-9._~-])#sprintf '%%%02X', ord $1#ge; |
160 |
|
$p->{-parent}->append_text (q<http://suika.fam.cx/~wakaba/-temp/wiki/wiki?>.$page); |
161 |
|
} else { |
162 |
|
$p->{-parent}->append_text (URI->new (q<http://suika.fam.cx/gate/2005/sw/>.$page)); |
163 |
|
} |
164 |
|
|
165 |
|
ViewFragment: |
166 |
|
@Name: ws--post-content |
167 |
|
@Description: |
168 |
|
@@@: After content body -- URI |
169 |
|
@@lang:en |
170 |
|
@Order: 700 |
171 |
|
@Formatting: |
172 |
|
%block ( |
173 |
|
class => myuri, |
174 |
|
content => { |
175 |
|
%res (name => {WikiPage:ThisURI=}); |
176 |
|
%link-to-resource ( |
177 |
|
label => {<%link-to-it (label => {%sw--this-uri;}p);>}, |
178 |
|
uri => {%sw--this-uri;}p, |
179 |
|
); |
180 |
|
}p, |
181 |
|
); |
182 |
|
|
183 |
|
ViewFragment: |
184 |
@Name: ws--footer |
@Name: ws--footer |
185 |
@Formatting: |
@Formatting: |
186 |
%link-to-wikipage ( |
%link-to-wikipage ( |
202 |
@Formatting: |
@Formatting: |
203 |
%block ( |
%block ( |
204 |
id => edit-help, |
id => edit-help, |
205 |
content => {%read(page=>{Wiki//Edit//Help});}p, |
content => {%read(page=>{Wiki//EditHelp});}p, |
206 |
); |
); |
207 |
|
|
208 |
FormattingRuleAlias: |
FormattingRuleAlias: |
261 |
default); |
default); |
262 |
}p); |
}p); |
263 |
|
|
264 |
|
ViewFragment: |
265 |
|
@Name: we--edit |
266 |
|
@Order: 1250 |
267 |
|
@Description: |
268 |
|
@@lang:en |
269 |
|
@@@: License Information that should be read just before submitting. |
270 |
|
@Formatting: |
271 |
|
%res (name => {Edit:License:Descriptions}); |
272 |
|
|
273 |
Resource: |
Resource: |
274 |
|
@Edit:License:Descriptions: |
275 |
|
@@lang:en |
276 |
|
@@@: |
277 |
|
%paragraph (content => { |
278 |
|
Note: Submitting any changes means you understand and accept |
279 |
|
license terms written in (or referred from) |
280 |
|
%link-to-wikipage (page => {Wiki//Page//License}, |
281 |
|
label => {%link-to-it (label => {Wiki//Page//License});});. |
282 |
|
}p); |
283 |
|
%paragraph (content => { |
284 |
|
WARNING: Don't submit copyrighted work without permission. |
285 |
|
If you are not sure whether it is allowed or not, don't submit. |
286 |
|
}); |
287 |
|
%paragraph (content => { |
288 |
|
You MUST add license information to the License section |
289 |
|
just after submission (%link-to-wikipage (mode => pe--propedit, |
290 |
|
label => {%link-to-it (label => {Edit License Information});});) |
291 |
|
if your submission is copy of copyrighted work (and if you can |
292 |
|
publish it). |
293 |
|
}p); |
294 |
@Edit:UpdateTimeStamp: |
@Edit:UpdateTimeStamp: |
295 |
@@@: Update timestamp |
@@@: Update timestamp |
296 |
@@lang: en |
@@lang: en |
308 |
@GoToCreatePageLong: |
@GoToCreatePageLong: |
309 |
@@@: Create a new WikiPage |
@@@: Create a new WikiPage |
310 |
@@lang: en |
@@lang: en |
311 |
|
@GoToMyselfLink: |
312 |
|
@@@: This WikiPage |
313 |
|
@@lang:en |
314 |
@GoToSearchPage: |
@GoToSearchPage: |
315 |
@@@: Search |
@@@: Search |
316 |
@@lang: en |
@@lang: en |
335 |
@JumpToEditLink: |
@JumpToEditLink: |
336 |
@@@: Open a WikiPage in editing mode... |
@@@: Open a WikiPage in editing mode... |
337 |
@@lang: en |
@@lang: en |
338 |
|
@Section:License:AfterDescriptions: |
339 |
|
@Section:License:BeforeDescriptions: |
340 |
|
@@lang:en |
341 |
|
@@@: |
342 |
|
%paragraph (content => { |
343 |
|
%char (ucs => {U+00A9}); Authors, et al. %last-modified; |
344 |
|
}p); |
345 |
|
%paragraph (content => { |
346 |
|
For more information about copyright and other rights, see |
347 |
|
%link-to-wikipage (page => {Wiki//Page//License}, |
348 |
|
label => {%link-to-it (label => {Wiki//Page//License});});. |
349 |
|
}p); |
350 |
|
@Section:License:Title: |
351 |
|
@@lang:en |
352 |
|
@@@: License |
353 |
@StyleSet:Name:SuikaWiki: |
@StyleSet:Name:SuikaWiki: |
354 |
@@@: SuikaWiki |
@@@: SuikaWiki |
355 |
@@lang: ja |
@@lang: ja |
359 |
@WikiForm:Search:Name: |
@WikiForm:Search:Name: |
360 |
@@@: Keyword |
@@@: Keyword |
361 |
@@lang: en |
@@lang: en |
362 |
|
@WikiPage:Obsolete:DescBefore: |
363 |
|
@@@: |
364 |
|
This WikiPage is obsolete in favor of |
365 |
|
@@lang:en |
366 |
|
@WikiPage:Obsolete:DescAfter: |
367 |
|
@@@: . |
368 |
|
@@lang:en |
369 |
|
@WikiPage:ThisURI=: |
370 |
|
@@@: |
371 |
|
This WikiPage: |
372 |
|
@@lang:en |
373 |
|
|
374 |
|
|
375 |
|
|
376 |
|
|