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

Contents of /suikawiki/wikidata/config.wp2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (hide annotations) (download)
Thu Dec 2 23:04:21 2004 UTC (19 years, 5 months ago) by wakaba
Branch: MAIN
Changes since 1.9: +19 -2 lines
Wiki//Edit//Help -> Wiki//EditHelp changed

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24