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

Contents of /suikawiki/wikidata/config.wp2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (hide annotations) (download)
Fri Aug 6 09:10:49 2004 UTC (20 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.6: +10 -2 lines
Link to license section

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24