#?SuikaWikiConfig/2.0 Plugin: @Name: config @Description: @@@: Per-Wiki Configuration Pseudo-Plugin @@lang:en @License: %%Perl%% @Date.RCS: $Date: 2010/05/16 22:40:03 $ ViewFragment: @Name: navbar @Order: 20 @Formatting: %link-to-wikipage ( page => {//}, label => {%link-to-it ( label => "%res(name=>GoToHomePage);"p, description => "%res(name=>GoToHomePageLong);"p, );}, ); %link-to-wikipage ( page => {Wiki//Page//Create}, label => {%link-to-it ( label => "%res(name=>GoToCreatePage);"p, description => "%res(name=>GoToCreatePageLong);"p, );}, ); %link-to-wikipage ( page => {Wiki//Page//Search}, label => {%link-to-it ( label=>"%res(name=>GoToSearchPage);"p, description=>"%res(name=>GoToSearchPageLong);"p, );}, rel => search, ); ViewFragment: @Name: links @Formatting: %link-wiki(page=>"Wiki//News",rel=>news, description=>"%res(name=>GoToWikiNewsLink);"p); %link-wiki(page=>"Wiki//Help",rel=>help, description=>"%res(name=>GoToWikiHelpLink);"p); %link-wiki(page=>"Wiki//Page//License",rel=>copyright, description=>"%res(name=>GoToWikiPageLicenseLink);"p); %link-wiki(page=>"Wiki//Page//Search",rel=>search, description=>"%res(name=>GoToSearchPageLink);"p); ## TODO: Resource, URI %link-to-resource ( uri => {javascript:var%20WikiName=prompt('Please%20input%20the%20WikiName:','','Jump%20to%20SuikaWiki');if(WikiName)%7B_content.location.href='wiki%3F'+encodeURIComponent(WikiName)%7D}, rel => jump, class => wiki-cmd, label => {%html-link ( description => {%res(name=>JumpToLink);}p, );}, ); %link-to-resource ( 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}, rel => jump, class => wiki-cmd, label => {%html-link ( description => {%res(name=>JumpToEditLink);}p, );}, ); ViewFragment: @Name: ws--footer @Formatting: %link-to-wikipage ( page => {Wiki//Page//License}, label => {%link-to-it ( label => {%res (name => {Footer:License:SeeLicensePage});}p, description => {%res (name => {Footer:License:SeeLicensePageLong});}p, );}, ); ViewFragment: @Template[list]: we--edit-body we--conflict-body @Order: 1000 @Description: @@@: WikiPage editing guide @@lang:en @Formatting: %block ( id => edit-help, content => {%read(page=>{Wiki//Edit//Help});}p, ); ViewFragment: @Name: we--edit @Order: -100 @Formatting: %line(content=>{ %submit(accesskey=>S,label=>{%res(name=>{Edit:Save});}p); [%wpp--next-anchor-index;] }p); ViewFragment: @Name: we--edit @Order: -10 @Formatting: %line(content=>{ ViewFragment: @Name: we--edit @Order: 10 @Formatting: }p); ViewFragment: @Name: we--edit @Order: 150 @Formatting: %line(content=>{ ViewFragment: @Name: we--edit @Order: 250 @Formatting: %mode-after-edit-selection ( description => {%res (name => {Edit:SaveAnd:Description});}p, ); %we--update-lastmodified-datetime; }p); ViewFragment: @Name: ws--post-content @Description: @@@: After content body -- URI @@lang:en @Order: 700 @Formatting: %block ( class => myuri, content => { %res (name => {WikiPage:ThisURI=}); %link-to-wikipage ( label => {<%link-to-it (label => {%uri-reference;}p);>}, ); }p, ); ## If you use Namazu plugin, use this configuration. # #FormattingRuleAlias: # @Category[list]: # view # view-resource # form-input # @Name: search-result # @Reference: # @@Category: view # @@Name: namazu-search Resource: @Footer:License:SeeLicensePage: @@@: %char (ucs => {U+00A9}); @Footer:License:SeeLicensePageLong: @@@: See license document @@lang:en @GoToCreatePage: @@@: Create @@lang: en @GoToCreatePageLong: @@@: Create a new WikiPage @@lang: en @GoToSearchPage: @@@: Search @@lang: en @GoToSearchPageLink: @@@: Search in this wiki @@lang: en @GoToSearchPageLong: @@@: Search word in this wiki @@lang: en @GoToWikiHelpLink: @@@: Help page @@lang: en @GoToWikiPageLicenseLink: @@@: License for contents of this wiki @@lang: en @GoToWikiNewsLink: @@@: News on this wiki @@lang: en @JumpToLink: @@@: Open a WikiPage... @@lang: en @JumpToEditLink: @@@: Open a WikiPage in editing mode... @@lang: en @StyleSet:Name:SuikaWiki: @@@: SuikaWiki @@lang: ja @WikiForm:Create:Name: @@@: WikiName @@lang: en @WikiForm:Search:Name: @@@: Keyword @@lang: en @WikiPage:ThisURI=: @@lang:en @@@: This WikiPage: