/[pub]/suikawiki/script/misc/plugins/Obsolete.wp2
Suika

Contents of /suikawiki/script/misc/plugins/Obsolete.wp2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Fri Jan 16 07:56:13 2004 UTC (20 years, 9 months ago) by wakaba
Branch: MAIN
Use new WikiResource module interface

1 wakaba 1.1 #?SuikaWikiConfig/2.0
2    
3     Plugin:
4     @Name: Obsolete
5     @Description:
6     @@@: Obsoleted formatting rules
7     @@lang:en
8     @License: %%GPL%%
9     @Author:
10     @@Name:
11     @@@@: Wakaba
12     @@@lang:ja
13     @@@script:Latn
14     @@Mail[list]: w@suika.fam.cx
15     @Date.RCS: $Date: 2003/12/26 06:37:44 $
16     @RequiredPlugin[list]:
17     Error
18     WikiResource
19    
20     PluginConst:
21     @NS_XHTML1:
22     http://www.w3.org/1999/xhtml
23    
24     FormattingRule:
25     @Category[list]:form-input
26     @Name: n
27     @Formatting:
28     SuikaWiki::Plugin->module_package ('Error')
29     ->report_error_simple ($o->{wiki},
30     WikiForm => SuikaWiki::Plugin->module_package ('WikiResource')->get_text
31     (name => 'Obsolete:WikiForm:n',
32     param => $o,
33     wiki => $o->{wiki}));
34     $p->{-parent}->append_new_node (type => '#element',
35     namespace_uri => $NS_XHTML1,
36     local_name => 'br')
37     ->option (use_EmptyElemTag => 1);
38     $p->{-parent}->append_text ("\n");
39    
40     FormattingRule:
41     @Category[list]:form-template
42     @Name: n
43     @After:
44     SuikaWiki::Plugin->module_package ('Error')
45     ->report_error_simple ($o->{wiki},
46     WikiForm => SuikaWiki::Plugin->module_package ('WikiResource')->get_text
47     (name => 'Obsolete:WikiForm:n',
48     param => $o,
49     wiki => $o->{wiki}));
50     $p->{-result} .= "\n";
51    
52     Resource:
53     @Obsolete:WikiForm:n:
54     @@@: Formatting rule "n" is obsolete. Use "line" instead.
55     @@lang:en
56    
57    
58    
59    

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24