Parent Directory
|
Revision Log
Some new rules
| 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]: [email protected] | ||
| 15 | wakaba | 1.2 | @Date.RCS: $Date: 2004/01/16 07:56:13 $ |
| 16 | wakaba | 1.1 | @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 | wakaba | 1.2 | FormattingRule: |
| 53 | @Category[list]: form-input | ||
| 54 | @Name: radio | ||
| 55 | @Description: | ||
| 56 | @@@: One of one-from-many selection | ||
| 57 | @@lang: en | ||
| 58 | @Parameter: | ||
| 59 | @@Name: default | ||
| 60 | @@Type: boolean | ||
| 61 | @@Default: "0" | ||
| 62 | @@Description: | ||
| 63 | @@@@: Initial value | ||
| 64 | @@@lang: en | ||
| 65 | @Parameter: | ||
| 66 | @@Name: desription | ||
| 67 | @@Type: text | ||
| 68 | @@Default: (none) | ||
| 69 | @@Description: | ||
| 70 | @@@@: Human readable description about this selection | ||
| 71 | @@@lang: en | ||
| 72 | @Parameter: | ||
| 73 | @@Name: label | ||
| 74 | @@Type: text | ||
| 75 | @@Default: (none) | ||
| 76 | @@Description: | ||
| 77 | @@@@: A label descripting the selection | ||
| 78 | @@@lang: en | ||
| 79 | @Parameter: | ||
| 80 | @@Name: value | ||
| 81 | @@Type: text | ||
| 82 | @@Default: (auto) | ||
| 83 | @@Description: | ||
| 84 | @@@@: Form control value returned when selected | ||
| 85 | @@@lang: en | ||
| 86 | @Formatting: | ||
| 87 | SuikaWiki::Plugin->module_package ('Error') | ||
| 88 | ->report_error_simple ($o->{wiki}, | ||
| 89 | WikiForm => SuikaWiki::Plugin->module_package ('WikiResource')->get_text | ||
| 90 | (name => 'Obsolete:WikiForm:%radio', | ||
| 91 | param => $o, | ||