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

Contents of /suikawiki/wikidata/config.wp2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (hide annotations) (download)
Tue Sep 21 03:18:49 2004 UTC (19 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.7: +21 -1 lines
%m--wikipage-obsolete rule 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     @License: %%Perl%%
9     @Date.RCS:
10 wakaba 1.8 $Date: 2004/08/06 09:10: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    
121     ViewFragment:
122 wakaba 1.1 @Name: ws--footer
123     @Formatting:
124     %link-to-wikipage (
125     page => {Wiki//Page//License},
126     label => {%link-to-it (
127     label => {%res (name => {Footer:License:SeeLicensePage});}p,
128     description => {%res (name => {Footer:License:SeeLicensePageLong});}p,
129     );},
130     );
131    
132     ViewFragment:
133     @Template[list]:
134     we--edit-body
135     we--conflict-body
136     @Order: 1000
137     @Description:
138     @@@: WikiPage editing guide
139     @@lang:en
140     @Formatting:
141     %block (
142     id => edit-help,
143     content => {%read(page=>{Wiki//Edit//Help});}p,
144     );
145 wakaba 1.3
146     FormattingRuleAlias:
147     @Category[list]:
148     view
149     view-resource
150     form-input
151     @Name: search-result
152     @Reference:
153     @@Category: view
154     @@Name: namazu-search
155 wakaba 1.1
156 wakaba 1.4 FormattingRuleAlias:
157     @Category[list]:
158     form-template
159     @Name: name
160     @Reference:
161     @@Category: form-template
162     @@Name: bbs--2ch-name
163 wakaba 1.1
164     ViewFragment:
165     @Name: we--edit
166     @Order: -100
167     @Formatting:
168     %line(content=>{
169     %submit(accesskey=>S,label=>{%res(name=>{Edit:Save});}p);
170     [%wpp--next-anchor-index;]
171     }p);
172    
173     ViewFragment:
174     @Name: we--edit
175     @Order: -10
176     @Formatting: %line(content=>{
177     ViewFragment:
178     @Name: we--edit
179     @Order: 10
180     @Formatting: }p);
181    
182     ViewFragment:
183     @Name: we--edit
184     @Order: 150
185     @Formatting:
186     %line(content=>{
187    
188     ViewFragment:
189     @Name: we--edit
190     @Order: 250
191     @Formatting:
192     %mode-after-edit-selection (
193     description => {%res (name => {Edit:SaveAnd:Description});}p,
194     );
195 wakaba 1.4
196     %check (id => we--touch,
197     label => {%res (name => {Edit:UpdateTimeStamp});}p,
198     description => {%res (name => {Edit:UpdateTimeStamp:Description});}p,
199     default);
200 wakaba 1.1 }p);
201    
202 wakaba 1.6 ViewFragment:
203     @Name: we--edit
204     @Order: 1250
205     @Description:
206     @@lang:en
207     @@@: License Information that should be read just before submitting.
208     @Formatting:
209     %res (name => {Edit:License:Descriptions});
210    
211 wakaba 1.1 Resource:
212 wakaba 1.6 @Edit:License:Descriptions:
213     @@lang:en
214     @@@:
215     %paragraph (content => {
216     Note: Submitting any changes means you understand and accept
217     license terms written in (or referred from)
218     %link-to-wikipage (page => {Wiki//Page//License},
219     label => {%link-to-it (label => {Wiki//Page//License});});.
220     }p);
221     %paragraph (content => {
222     WARNING: Don't submit copyrighted work without permission.
223     If you are not sure whether it is allowed or not, don't submit.
224     });
225     %paragraph (content => {
226     You MUST add license information to the License section
227     just after submission (%link-to-wikipage (mode => pe--propedit,
228     label => {%link-to-it (label => {Edit License Information});});)
229     if your submission is copy of copyrighted work (and if you can
230     publish it).
231     }p);
232 wakaba 1.4 @Edit:UpdateTimeStamp:
233     @@@: Update timestamp
234     @@lang: en
235     @Edit:UpdateTimeStamp:Description:
236     @@@: Update Last-Modified date-time to "now"
237     @@lang: en
238 wakaba 1.1 @Footer:License:SeeLicensePage:
239     @@@: %char (ucs => {U+00A9});
240     @Footer:License:SeeLicensePageLong:
241     @@@: See license document
242     @@lang:en
243     @GoToCreatePage:
244     @@@: Create
245     @@lang: en
246     @GoToCreatePageLong:
247     @@@: Create a new WikiPage
248     @@lang: en
249     @GoToSearchPage:
250     @@@: Search
251     @@lang: en
252     @GoToSearchPageLink:
253     @@@: Search in this wiki
254     @@lang: en
255     @GoToSearchPageLong:
256     @@@: Search word in this wiki
257     @@lang: en
258     @GoToWikiHelpLink:
259     @@@: Help page
260     @@lang: en
261     @GoToWikiPageLicenseLink:
262 wakaba 1.4 @@@: License for contents of this wiki
263 wakaba 1.1 @@lang: en
264     @GoToWikiNewsLink:
265     @@@: News on this wiki
266     @@lang: en
267     @JumpToLink:
268     @@@: Open a WikiPage...
269     @@lang: en
270     @JumpToEditLink:
271     @@@: Open a WikiPage in editing mode...
272     @@lang: en
273 wakaba 1.6 @Section:License:AfterDescriptions:
274     @Section:License:BeforeDescriptions:
275     @@lang:en
276     @@@:
277     %paragraph (content => {
278     %char (ucs => {U+00A9}); Authors, et al. %last-modified;
279     }p);
280     %paragraph (content => {
281     For more information about copyright and other rights, see
282     %link-to-wikipage (page => {Wiki//Page//License},
283     label => {%link-to-it (label => {Wiki//Page//License});});.
284     }p);
285     @Section:License:Title:
286     @@lang:en
287     @@@: License
288 wakaba 1.4 @StyleSet:Name:SuikaWiki:
289     @@@: SuikaWiki
290     @@lang: ja
291 wakaba 1.1 @WikiForm:Create:Name:
292     @@@: WikiName
293     @@lang: en
294     @WikiForm:Search:Name:
295     @@@: Keyword
296     @@lang: en
297 wakaba 1.8 @WikiPage:Obsolete:DescBefore:
298     @@@:
299     This WikiPage is obsolete in favor of
300     @@lang:en
301     @WikiPage:Obsolete:DescAfter:
302     @@@: .
303     @@lang:en
304    
305 wakaba 1.1
306    
307    
308    
309    
310    

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24