netfrag.org > TWiki > DefaultPlugin (r1.1 vs. r1.4)
TWiki . { Home? | Welcome | Register | Changes | Index | Search | Go }

 <<O>>  Difference Topic DefaultPlugin (r1.4 - 18 Sep 2001 - MikeMannix?)
Line: 1 4 to 1 4
Changed:
<
<
The default plugin is used for some depreciated rendering of older TWiki versions and of JosWiki. This plugin can also be used to specify some simple custom rendering rules. Note: Create a new TWikiPlugin based on EmptyPlugin if you plan to offer some complex rendering or other functionality.
>
>
The default plugin is used for some deprecated rendering of older TWiki versions and of JosWiki. This plugin can also be used to specify some simple custom rendering rules. Note: Create a new TWikiPlugin based on EmptyPlugin if you plan to offer some complex rendering or other functionality.
Line: 11 to 11
Changed:
<
<
  • Render depreciated *_text_* as bold italic text. Test if installed: This is bold italic
>
>
  • Render deprecated *_text_* as bold italic text. Test if installed: This is bold italic
Line: 22 to 22
Changed:
<
<
    • Set SHORTDESCRIPTION = This plugin can be used to specify some simple custom rendering rules. It also renders depreciated *_text_* as bold italic text.
>
>
    • Set SHORTDESCRIPTION = This plugin can be used to specify some simple custom rendering rules. It also renders deprecated *_text_* as bold italic text.
Line: 24 to 24
Changed:
<
<
  • Allow depreciated %INCLUDE:"TopicName"% syntax:
>
>
  • Allow deprecated %INCLUDE:"TopicName"% syntax:

 <<O>>  Difference Topic DefaultPlugin (r1.3 - 14 Jul 2001 - PeterThoeny?)
Line: 1 16 to 1 16
Changed:
<
<

DefaultPlugin Preferences

>
>

DefaultPlugin Settings

Line: 18 to 18
Changed:
<
<
Plugin preferences are stored as preferences variables. To reference a plugin preference write %<plugin>_<preference>%, i.e. %DEFAULTPLUGIN_SHORTDESCRIPTION%
>
>
Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, i.e. %DEFAULTPLUGIN_SHORTDESCRIPTION%
Line: 21 to 21
Changed:
<
<
>
>
Line: 25 to 27
Added:
>
>
  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 0
Line: 33 to 38
Changed:
<
<
Plugin Version: 08 Jul 2001
Change History: 08 Jul 2001: Changed to plug&play
27 Feb 2001: Initial version
>
>
Plugin Version: 14 Jul 2001
Change History: 14 Jul 2001: Changed to plug&play
27 Feb 2001: Initial version
Line: 44 to 49
Changed:
<
<
-- PeterThoeny - 08 Jul 2001
>
>
-- PeterThoeny - 14 Jul 2001

 <<O>>  Difference Topic DefaultPlugin (r1.2 - 09 Jul 2001 - PeterThoeny?)
Line: 1 to 1
Changed:
<
<
Default TWiki Plugin
>
>

Default TWiki Plugin

Line: 3 to 4
Changed:
<
<
The default plugin is used for some depreciated rendering of older TWiki versions and of JosWiki. This plugin can also be used to specify some simple custom rendering rules. Note: Create a new TWikiPlugin based on EmptyPlugin if you plan to offer some complex rendering or functions.
>
>
The default plugin is used for some depreciated rendering of older TWiki versions and of JosWiki. This plugin can also be used to specify some simple custom rendering rules. Note: Create a new TWikiPlugin based on EmptyPlugin if you plan to offer some complex rendering or other functionality.

Syntax Rules

Line: 7 to 10
Changed:
<
<
  • Allow old include syntax ( %INCLUDE:"TopicName"% ) if TWikiPreferences variable DEFAULTPLUGIN_OLDINCLUDE is set to 1
>
>
  • Allow old include syntax ( %INCLUDE:"TopicName"% ) if Plugin Preferences variable OLDINCLUDE is set to 1
Line: 13 to 16
Changed:
<
<
Related Topics: TWikiPreferences, TWikiPlugins, EmptyPlugin
>
>

DefaultPlugin Preferences

Plugin preferences are stored as preferences variables. To reference a plugin preference write %<plugin>_<preference>%, i.e. %DEFAULTPLUGIN_SHORTDESCRIPTION%

  • One line description, is included in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = This plugin can be used to specify some simple custom rendering rules. It also renders depreciated *_text_* as bold italic text.
  • Allow depreciated %INCLUDE:"TopicName"% syntax:
    • Set OLDINCLUDE = 1

Plugin Installation Instructions

  • This plugin is preinstalled, you do not need to install it.

Plugin Info

Plugin Author: AndreaSterbini, PeterThoeny
Plugin Version: 08 Jul 2001
Change History: 08 Jul 2001: Changed to plug&play
27 Feb 2001: Initial version
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.0
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/DefaultPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/DefaultPluginDev

Related Topics: TWikiPreferences, TWikiPlugins, EmptyPlugin

Line: 15 to 43
Changed:
<
<
-- PeterThoeny? - 13 Mar 2001
>
>
-- AndreaSterbini - 27 Feb 2001
-- PeterThoeny - 08 Jul 2001

 <<O>>  Difference Topic DefaultPlugin (r1.1 - 14 Mar 2001 - PeterThoeny?)
Line: 1 to 1
Added:
>
>
Default TWiki Plugin

The default plugin is used for some depreciated rendering of older TWiki versions and of JosWiki. This plugin can also be used to specify some simple custom rendering rules. Note: Create a new TWikiPlugin based on EmptyPlugin if you plan to offer some complex rendering or functions.

Custom rendering rules of the default plugin:

  • Allow old include syntax ( %INCLUDE:"TopicName"% ) if TWikiPreferences variable DEFAULTPLUGIN_OLDINCLUDE is set to 1
  • Render depreciated *_text_* as bold italic text. Test if installed: This is bold italic
  • Enable JosWiki rules if JosWiki specific code is uncommented

Modify file TWiki/Plugins/DefaultPlugin.pm to add your own rules or to enable JosWiki rules.

Related Topics: TWikiPreferences, TWikiPlugins, EmptyPlugin

-- PeterThoeny? - 13 Mar 2001


Topic DefaultPlugin . { View | Diffs | r1.4 | > | r1.3 | > | r1.2 | More }    output as: { }
Revision r1.1 - 14 Mar 2001 - 02:20 - PeterThoeny?
Revision r1.4 - 18 Sep 2001 - 04:24 - MikeMannix?