Item4959: remove configuration from plugin topic texts

pencil
Priority: Normal
Current State: Closed
Released In:
Target Release: n/a
Applies To: Extension
Component: most plugins
Branches:
Reported By: TWiki:Main.MichaelDaum
Waiting For:
Last Change By: MichaelDaum
Most of the time this extra level of configurability using twiki topics isn't worth it, and just sucks performance. Once the plugin is configured, it stays that way for the lifetime of a TWiki. No need to extract this information again and again on every click: "oh lock mum, I've just found the same configuration once again" wink .

Best is to
  • either move options to a cfg file and define a Config.spec, or even
  • rethink if less isn't more, that is: remove config options all together, and
  • move SHORTDESCRIPTION to perl

All this to be able to set
$NO_PREFS_IN_TOPIC = 1;
in the plugin code.

MD

What is the compatibility of this for older installations? Since when does TWiki support Config.spec?

-- TWiki:Main.ArthurClemens - 13 Nov 2007

Ou, good question. Don't know for sure, for how long we are able to have plugin settings in configure. However, you are able to have plugin settings in cfg for as long as we have LocalSite.cfg ...

-- TWiki:Main.MichaelDaum - 13 Nov 2007

ItemTemplate edit

Summary remove configuration from plugin topic texts
ReportedBy TWiki:Main.MichaelDaum
Codebase
SVN Range TWiki-4.3.0, Fri, 12 Oct 2007, build 15261
AppliesTo Extension
Component most plugins
Priority Normal
CurrentState Closed
WaitingFor
Checkins TWikirev:15573 TWikirev:15575 TWikirev:15576
TargetRelease n/a
ReleasedIn
Topic revision: r9 - 08 Jan 2009, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy