Difference: DefaultPlugin (3 vs. 4)

Revision 418 Sep 2001 - Main.MikeMannix

 

Default TWiki Plugin

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.
 

Syntax Rules

Custom rendering rules of the default plugin:

  • Allow old include syntax ( %INCLUDE:"TopicName"% ) if Plugin Preferences variable OLDINCLUDE is set to 1
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
 
  • 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.

DefaultPlugin Settings

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

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.
 
Changed:
<
<
  • Allow depreciated %INCLUDE:"TopicName"% syntax:
>
>
  • Allow deprecated %INCLUDE:"TopicName"% syntax:
 
    • Set OLDINCLUDE = 1

  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 0
Deleted:
<
<
 

Plugin Installation Instructions

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

Plugin Info

Plugin Author: AndreaSterbini, PeterThoeny
Plugin Version: 14 Jul 2001
Change History: 14 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

-- AndreaSterbini - 27 Feb 2001
-- PeterThoeny - 14 Jul 2001

 
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding this intranet, Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.DefaultPlugin