• 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.

Item4959: remove configuration from plugin topic texts

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension most plugins Normal New   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

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
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 New
WaitingFor

Checkins TWikirev:15573 TWikirev:15575 TWikirev:15576
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2007-11-13 - MichaelDaum
 
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