TWiki home TWiki.Tukro > TWiki > DefaultPlugin (r1.5 vs. r1.6) TWiki.Tukro webs:
Main | TWiki | Know | Sandbox
TWiki . { Welcome | Register | Changes | Topics | Index | Search | Go }
 <<O>>  Difference Topic DefaultPlugin (r1.6 - 21 Mar 2004 - PeterThoeny)
Line: 1 to 1
Changed:
<
<
META TOPICINFO PeterThoeny date="1010219404" format="1.0" version="1.5"

Default TWiki Plugin

>
>
META TOPICINFO PeterThoeny date="1079856725" format="1.0" version="1.6"

Default TWiki Plugin


Changed:
<
<
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.
>
>
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.

Changed:
<
<

Syntax Rules

>
>

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 deprecated *_text_* as bold italic text. Test if installed: This is bold italic
>
>
  • 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.

Changed:
<
<

DefaultPlugin Settings

>
>

Plugin Settings


Plugin settings are stored as preferences variables. To reference

Changed:
<
<
a plugin setting write %<plugin>_<setting>%, for example, %DEFAULTPLUGIN_SHORTDESCRIPTION%
>
>
a plugin setting write %<plugin>_<setting>%, i.e. %DEFAULTPLUGIN_SHORTDESCRIPTION%

Changed:
<
<
  • One line description, shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = This plugin can be used to specify some simple custom rendering rules. It also renders deprecated *_text_* as bold italic text.
>
>
  • One line description, is shown 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.

Changed:
<
<
  • Allow deprecated %INCLUDE:"TopicName"% syntax:
>
>
  • Allow depreciated %INCLUDE:"TopicName"% syntax:

    • Set OLDINCLUDE = 1

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

Plugin Installation Instructions

>
>

Plugin Installation Instructions


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

Plugin Info

>
>

Plugin Info


Changed:
<
<
Plugin Author: AndreaSterbini?, PeterThoeny
Plugin Version: 14 Jul 2001
Change History: 14 Jul 2001: Changed to plug&play
27 Feb 2001: Initial version
>
>
Plugin Author: TWiki:Main.AndreaSterbini, TWiki:Main.PeterThoeny
Plugin Version: 21 Mar 2004
Change History: <!-- versions below in reverse order --> 
21 Mar 2004: Added afterSaveHandler
14 Jul 2001: Changed to plug&play
27 Feb 2001: Initial version

CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.0
Line: 44 to 48

Related Topics: TWikiPreferences, TWikiPlugins, EmptyPlugin

Added:
>
>
-- TWiki:Main.AndreaSterbini - 27 Feb 2001
-- TWiki:Main.PeterThoeny - 21 Mar 2004


Topic DefaultPlugin . { View | Diffs | r1.6 | > | r1.5 | > | r1.4 | More }
Revision r1.5 - 05 Jan 2002 - 08:30 - PeterThoeny
Revision r1.6 - 21 Mar 2004 - 08:12 - PeterThoeny
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki.Tukro? Send feedback.