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