You are here: Foswiki>Tasks Web>Item649 (08 Jan 2009, KwangErnLiew)Edit Attach

Item649: Only see TWiki as a valid web if TWikiCompatibilityPlugin is installed and enabled.

Priority: Normal
Current State: Closed
Released In: 1.0.0
Target Release: patch
Applies To: Engine
Reported By: Foswiki:Main.KennethLavrsen
Waiting For:
Last Change By: KwangErnLiew
Only see TWiki as a valid web if TWikiCompatibilityPlugin is installed and enabled.

There has been a lot of discussion in the Foswiki community if we should provide distribution both with and without the TWikiCompatibilityPlugin.

The people against has seen having two versions adding unnecessary confusion to the downloader.

The people for have mainly been concerned about the new users that have no TWiki history and who will not need to install old TWiki plugins that are not yet available in Foswiki namespace versions. These users would see the TWiki web. At least the members of the AdminGroup will see the TWiki web.

To meet both requirements: simple download page, no visible TWiki web unless you need it - this change in the web discovery code does the job.

The TWiki web will simply not be seen as a valid web anywhere unless two criteria are met.

.. the TWiki web will be totally invisible. It will not show in left bar even when you are an admin. It will not show in any user interfaces related to webs or UI that lists webs. And searching all webs will not return anything from the TWiki web.

Only the direct URLs to files in pub/TWiki will be there but that is no issue at all for anyone.

I have documented the behavior in a note in VarWEBLIST in case some app developer wonders why it is not shown.

This means that we can distribute ONE release.

I also enable the TWikiCompatibilityPlugin by default again which means putting its setting back in Foswiki.spec.

It is a tradeoff.

Enable TWikiCompatibilityPlugin by default Impact
Yes All upgraders will have the TWiki stuff working without having to remember to enable the plugin (advantage high)

New users will have a TWiki web which can be seen by the admins but with be invisible to normal users. (Harm considered low)
No All upgraders must remember to activate the plugin (harm is high)

New users will not have their admins see the TWiki web (advantage low)

So the conclusion is that it is best to ship with the TWikiCompatibilityPlugin enabled.

This also matches what many community members expressed during the discussion of one or two release versions.

"When two solutions create a debate because there are pros and cons with both - a third solution is the right one to choose". (Kenneth doctrine wink smile )

ItemTemplate edit

Summary Only see TWiki as a valid web if TWikiCompatibilityPlugin is installed and enabled.
ReportedBy Foswiki:Main.KennethLavrsen
Codebase trunk
SVN Range TWiki-4.2.3, Wed, 06 Aug 2008, build 17396
AppliesTo Engine
Priority Normal
CurrentState Closed
Checkins distro:4bdee4c064dc distro:a37a608b1959 distro:c38da8fa3e23 distro:aad4916b1b65
TargetRelease patch
ReleasedIn 1.0.0
Topic revision: r12 - 08 Jan 2009, KwangErnLiew
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