/[pub]/suikawiki/wikidata/config.wp2
Suika

Contents of /suikawiki/wikidata/config.wp2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (hide annotations) (download)
Fri Oct 8 09:15:36 2004 UTC (19 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.8: +21 -1 lines
Show This document URI

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24