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

Item5937: move initialization of SwitchBoard to TWiki.spec

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Closed   n/a 4.2.4

Edit Form Data

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

Detail

... so that other plugins can register their handlers.

-- TWiki:Main/MichaelDaum - 18 Aug 2008

Yes! it's not a good design to have it within TWiki::UI. I placed it there in first place to make things work and then I'd think about it better, like many other issues (TWiki::generateHTTPHeaders, TWiki::writeCompletePage, etc). I'll file refactoring proposals after I have Item4662 completely solved.

-- TWiki:Main.GilmarSantosJr - 18 Aug 2008

I needed this for PublishContrib so I did it. Old-style run scripts are still supported, but TWiki 5.0 requires a Config.spec entry as described in TWikiPlugins

-- CrawfordCurrie - 22 Oct 2008

I missed the part where SwitchBoard stuff was moved from TWiki::UI to TWiki.spec....

-- TWiki:Main.GilmarSantosJr - 23 Oct 2008

That's because I started to move it, then moved it back. TWiki.spec is for options, and as far as I can see the entries in the switchboard table are not optional; you need them to make TWiki work, and there is no value in making them configurable. You'll note that I broke up the table in UI.pm so that it isn't redefining the switchboard, just adding to it. The LocalSite is loaded after the UI module has already been BEGINned, then you can override entries added in UI.pm, but this way you are always sure to have - for example - an entry for view.

If you can think of a justification for having those entries in TWiki.spec, then it's easy enough to move them.

-- CrawfordCurrie - 24 Oct 2008

Closing After Release 4.2.4

-- SopanShewale - 11 Dec 2008

ItemTemplate
Summary move initialization of SwitchBoard to TWiki.spec
ReportedBy TWiki:Main.MichaelDaum
Codebase

SVN Range TWiki-5.0.0, Mon, 11 Aug 2008, build 17408
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:17677
TargetRelease n/a
ReleasedIn 4.2.4
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2008-12-11 - SopanShewale
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback