/[pub]/suikawiki/script/misc/plugins/link/ns.wp2
Suika

Diff of /suikawiki/script/misc/plugins/link/ns.wp2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by wakaba, Sun Feb 8 08:47:02 2004 UTC revision 1.2 by wakaba, Thu Apr 1 04:39:58 2004 UTC
# Line 6  Plugin: Line 6  Plugin:
6      @@@:      @@@:
7        Namespaced WikiName properties        Namespaced WikiName properties
8      @@lang:en      @@lang:en
9    @License: %%GPL%%    @License: %%Perl%%
10    @Author:    @Author:
11      @@Name:      @@Name:
12        @@@@: Wakaba        @@@@: Wakaba
# Line 156  FormattingRule: Line 156  FormattingRule:
156      } else {      } else {
157        __ATTRNODE:%false->{$p->{-parent}}__;        __ATTRNODE:%false->{$p->{-parent}}__;
158      }      }
159    
160    FormattingRule:
161      @Category[list]:
162        view
163        view-resource
164        form-input
165        page-link
166        link-to-resource
167      @Name: ns--root-wikiname
168      @Description:
169        @@@:
170          Text representation of "root" WikiPage name
171        @@lang: en
172      @Formatting:
173        $p->{-parent}->append_text ($o->{wiki}->{config}->{name}->{space}->{root});
174            
175  ViewFragment:  ViewFragment:
176    @Name: links    @Name: links
177    @Formatting:    @Formatting:
     %is-child-of-root-ns (false => {  
178        %link-wiki (        %link-wiki (
179          page => {%ns-page-path-name;}p,          page => {%ns-page-path-name;}p,
180          rel => {up},          rel => {up},
181          description => {%res (name => {WikiNS:GoToParent:Description});}p,          description => {%res (name => {WikiNS:GoToParent:Description});}p,
182        );        );
     }p);  
183    
184  Resource:  Resource:
185    @WikiNS:GoToParent:Description:    @WikiNS:GoToParent:Description:

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24