#?SuikaWikiConfig/2.0 Plugin: @Name: config @Description: @@@: Per-Wiki Configuration Pseudo-Plugin @@lang:en @License: %%GPL%% @Date.RCS: $Date: 2003/12/26 07:05:09 $ ViewFragment: @Name: navbar @Order: 20 @Formatting: %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 => {IndexPage}, label => {%link-to-it ( label=>"%res(name=>GoToIndexPage);"p, description=>"%res(name=>GoToIndexPageLong);"p, );}, rel => index, ); %link-to-wikipage ( page => {Wiki//Page//Search}, label => {%link-to-it ( label=>"%res(name=>GoToSearchPage);"p, description=>"%res(name=>GoToSearchPageLong);"p, );}, rel => search, ); %link-to-wikipage ( page => {RecentChanges}, label => {%link-to-it ( label=>"%res(name=>GoToRecentChanges);"p, description=>"%res(name=>GoToRecentChangesLong);"p, );}, rel => news, ); 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); ViewFragment: @Name: ws--post-content @Description: @@@: After content body -- navigation bar @@lang:en @Order: 100 @Formatting: %section (level=>2, id => children, title => {%res(name=>{Children:Title});}p, heading, content => {%page-list ( ns => {%page-name;}p, recursive => 0, type => both, template => {%res(name=>{Children:Item});}p, );}p, ); %section (level=>2, id => see-also, title => {%res(name=>SeeAlso);}p, heading, content => {%search-result;}p, ); %section (level=>2, id => referer, title => {%res(name=>Referer);}p, heading, content => {%referer-list;}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]:wr--read-body @Order: -10 @Description: @@@: "Read" mode body -- Calender @@lang:en @Formatting: %if-calender(month,true=>{ %format(context=>form_input,template=>{%calender;}); },false=>{ %if-calender(true=>{ %format(context=>form_input,template=>{%calender-months;}); }); }); 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//EditHelp});}p, ); Resource: @GoToWikiNewsLink: @@@: News @@lang:en @GoToWikiHelpLink: @@@: Help @@lang:en @GoToWikiPageLicenseLink: @@@: License @@lang:en ViewFragment: @Name: we--edit @Order: -100 @Formatting: %line(content=>{ %submit(accesskey=>S,label=>{%res(name=>{Edit:Save});}p); }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; }p); Resource: @Footer:License:SeeLicensePage: @@@: %char (ucs => {U+00A9}); @Footer:License:SeeLicensePageLong: @@@: See license document @@lang:en ## --- Should be moved to proper plugin module --- ## WikiPageRename ViewFragment: @Template[list]: we--adminedit-body @Order:10 @Description: @@@: Renaming WikiName section @@lang:en @Formatting: %section(level=>2, title => {%res(name=>{Edit:Rename:Title});}p, heading, content => { %wp-rename-form ( content => { %text ( id => to, label => {%res(name=>{Edit:Rename:To=});}p, size => 10, default => {%page-name;}p, ); %submit; }p, ); }p, );