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

Contents of /suikawiki/wikidata/config.wp2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Sun Jul 25 06:55:01 2004 UTC (20 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.4: +7 -1 lines
Property Editor implemented

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.5 $Date: 2004/03/29 03:23: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     %link-wiki(page=>"Wiki//Page//License",rel=>copyright,
40     description=>"%res(name=>GoToWikiPageLicenseLink);"p);
41    
42     %link-wiki(page=>"Wiki//Page//Search",rel=>search,
43     description=>"%res(name=>GoToSearchPageLink);"p);
44 wakaba 1.2
45     %link-to-resource (
46     iw-name => {wiki-content-in-cvs-repository},
47     iw-parameter => {%page-name;}p,
48     rel => history,
49     class => wiki-cmd,
50     label => {%html-link (
51     description => {%res (name => ViewHistoryOfThisPageLink);}p,
52     );},
53 wakaba 1.5 );
54    
55     %html--meta-keywords;
56     %html-meta (
57     name => {description},
58     content => {%page-headline;}p,
59 wakaba 1.2 );
60 wakaba 1.1
61 wakaba 1.2 ViewFragment:
62     @Name: links
63     @Order: 100010
64     @Formatting:
65 wakaba 1.1 ## TODO: Resource, URI
66     %link-to-resource (
67     uri => {javascript:var%20WikiName=prompt('Please%20input%20the%20WikiName:','','Jump%20to%20SuikaWiki');if(WikiName)%7B_content.location.href='wiki%3F'+encodeURIComponent(WikiName)%7D},
68     rel => jump,
69     class => wiki-cmd,
70     label => {%html-link (
71     description => {%res(name=>JumpToLink);}p,
72     );},
73     );
74     %link-to-resource (
75     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},
76     rel => jump,
77     class => wiki-cmd,
78     label => {%html-link (
79     description => {%res(name=>JumpToEditLink);}p,
80     );},
81     );
82    
83     ViewFragment:
84     @Name: ws--footer
85     @Formatting:
86     %link-to-wikipage (
87     page => {Wiki//Page//License},
88     label => {%link-to-it (
89     label => {%res (name => {Footer:License:SeeLicensePage});}p,
90     description => {%res (name => {Footer:License:SeeLicensePageLong});}p,
91     );},
92     );
93    
94     ViewFragment:
95     @Template[list]:
96     we--edit-body
97     we--conflict-body
98     @Order: 1000
99     @Description:
100     @@@: WikiPage editing guide
101     @@lang:en
102     @Formatting:
103     %block (
104     id => edit-help,
105     content => {%read(page=>{Wiki//Edit//Help});}p,
106     );
107 wakaba 1.3
108     FormattingRuleAlias:
109     @Category[list]:
110     view
111     view-resource
112     form-input
113     @Name: search-result
114     @Reference:
115     @@Category: view
116     @@Name: namazu-search
117 wakaba 1.1
118 wakaba 1.4 FormattingRuleAlias:
119     @Category[list]:
120     form-template
121     @Name: name
122     @Reference:
123     @@Category: form-template
124     @@Name: bbs--2ch-name
125 wakaba 1.1
126     ViewFragment:
127     @Name: we--edit
128     @Order: -100
129     @Formatting:
130     %line(content=>{
131     %submit(accesskey=>S,label=>{%res(name=>{Edit:Save});}p);
132     [%wpp--next-anchor-index;]
133     }p);
134    
135     ViewFragment:
136     @Name: we--edit
137     @Order: -10
138     @Formatting: %line(content=>{
139     ViewFragment:
140     @Name: we--edit
141     @Order: 10
142     @Formatting: }p);
143    
144     ViewFragment:
145     @Name: we--edit
146     @Order: 150
147     @Formatting:
148     %line(content=>{
149    
150     ViewFragment:
151     @Name: we--edit
152     @Order: 250
153     @Formatting:
154     %mode-after-edit-selection (
155     description => {%res (name => {Edit:SaveAnd:Description});}p,
156     );
157 wakaba 1.4
158     %check (id => we--touch,
159     label => {%res (name => {Edit:UpdateTimeStamp});}p,
160     description => {%res (name => {Edit:UpdateTimeStamp:Description});}p,
161     default);
162 wakaba 1.1 }p);
163    
164     Resource:
165 wakaba 1.4 @Edit:UpdateTimeStamp:
166     @@@: Update timestamp
167     @@lang: en
168     @Edit:UpdateTimeStamp:Description:
169     @@@: Update Last-Modified date-time to "now"
170     @@lang: en
171 wakaba 1.1 @Footer:License:SeeLicensePage:
172     @@@: %char (ucs => {U+00A9});
173     @Footer:License:SeeLicensePageLong:
174     @@@: See license document
175     @@lang:en
176     @GoToCreatePage:
177     @@@: Create
178     @@lang: en
179     @GoToCreatePageLong:
180     @@@: Create a new WikiPage
181     @@lang: en
182     @GoToSearchPage:
183     @@@: Search
184     @@lang: en
185     @GoToSearchPageLink:
186     @@@: Search in this wiki
187     @@lang: en
188     @GoToSearchPageLong:
189     @@@: Search word in this wiki
190     @@lang: en
191     @GoToWikiHelpLink:
192     @@@: Help page
193     @@lang: en
194     @GoToWikiPageLicenseLink:
195 wakaba 1.4 @@@: License for contents of this wiki
196 wakaba 1.1 @@lang: en
197     @GoToWikiNewsLink:
198     @@@: News on this wiki
199     @@lang: en
200     @JumpToLink:
201     @@@: Open a WikiPage...
202     @@lang: en
203     @JumpToEditLink:
204     @@@: Open a WikiPage in editing mode...
205     @@lang: en
206 wakaba 1.4 @StyleSet:Name:SuikaWiki:
207     @@@: SuikaWiki
208     @@lang: ja
209 wakaba 1.1 @WikiForm:Create:Name:
210     @@@: WikiName
211     @@lang: en
212     @WikiForm:Search:Name:
213     @@@: Keyword
214     @@lang: en
215    
216    
217    
218    
219    
220    

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24