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

Contents of /suikawiki/wikidata/config.wp2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Sat Mar 20 04:09:14 2004 UTC (20 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.2: +11 -1 lines
*** empty log message ***

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24