• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

At the moment, the plugin topic for a plugin is always parsed to recover the preferences values. This is rather inefficient, as well as encouraging bad practice (writing to documentation topics in TWiki web). It is also potentially insecure, as it's all to easy for plugin authors to dump sensitive data like passwords into plugin topics without realising what they are doing.

It would be far more efficient if:

  1. Plugins authors were encouraged to use $TWiki::cfg to store configuration values by default, and standard preferences otherwise
  2. The plugin topic could be skipped if plugin preferences are not used.
  3. The plugin author was able to define preferences such as SHORTDESCRIPTION in the plugin code instead of the topic.


This is actually Waiting for Release, but set to Actioning to give people a chance to register it.


Waiting for Release


What happens with plugin preferences on a pre TWiki 4.1 installation if they are not in the plugin topic?


Putting preferences into the plugin topic in Dakar is bad news as they cannot be further overridden due to the Dakar preference precedence bug -- TW

Updated headline for release notes. Also changed to enhancement.


4.1.0 released


Summary Allow plugin prefs to be defined in configure and save time not looking for prefs in plugin topic.
ReportedBy TWiki:Main.CrawfordCurrie
Codebase 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5, ~twiki4
SVN Range TWiki-4.1-beta1, Mon, 24 Jul 2006, build 11161
AppliesTo Engine

Priority Enhancement
CurrentState Closed

Checkins 11354 11357 11391 11461
TargetRelease minor
Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r12 - 2007-01-16 - KennethLavrsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback