The current css classes have twiki in the name. We can think of a different name of course - but it should be unique to prevent overlapping with other css code.

That is the easy part.

The difficult part is this problem: we stop being compatible with extensions. Some extensions will assume a css class that is not defined by the shipped skins.

-- ArthurClemens - 08 Nov 2008 - 14:19

I think that we need to rename. But maybe we can create a TWikiCompatibilityContrib or plugin that provides the mechanisms needed.

In case of CSS this means an additional CSS file with all those twiki prefixed items.

Crazy idea? Possible? Just my 2 cents. Maybe it is a crazy way.

-- KennethLavrsen - 08 Nov 2008 - 15:01

Multiple files cannot be maintained. The suggestion on IRC to have each css definition double may provide an way out. For example:

.twikiTextarea, /* deprecated */
.twikiInputField, /* deprecated */
.twikiInputFieldDisabled, /* deprecated */
.twikiInputFieldReadOnly /* deprecated */ {

-- ArthurClemens - 08 Nov 2008 - 16:53

This is the only oustanding rebranding problem in the code, so I've elevated it to Urgent (was Normal)

I have done classes 1 to 16 from CascadingStyleSheets.

-- ArthurClemens - 30 Nov 2008

Argh, we need to revert the changes in ClassificationPlugin, NatEditPlugin, NatSkin, WikiWorkbenchContrib and JQueryTwistyPlugin as these are still maintained on clients' intranets runing TWiki. We did not yet arrive in a Foswiki-only world.

-- MichaelDaum - 05 Dec 2008

I have reverted changes to private extensions. I will continue on shipped extensions only.

Done with all default shipped code. If someone wants to update css classes for himself, this is the search pattern I have used:


Hits are of course replaced by foswiki\2.

Core extensions are done now.

As shown in Foswikirev:1206/trunk/core/data/System/CascadingStyleSheets.txt, you removed all = from the TOPICINFO part of CascadingStyleSheets.txt, which caused one warning:
view: Use of uninitialized value in pattern match (m//) at /.../core/lib/Foswiki/ line 1449, <FILE> chunk 1.

Re-opening to fix...

ItemTemplate edit

Summary Rebrand css classes from twikiXxxxx to foswikiXxxxxx
ReportedBy ArthurClemens
Codebase trunk
SVN Range TWiki-4.2.3, Wed, 06 Aug 2008, build 17396
AppliesTo Engine
Priority Urgent
CurrentState Closed
Checkins Foswikirev:1090 Foswikirev:1178 Foswikirev:1209 Foswikirev:1232 Foswikirev:1553
TargetRelease patch
ReleasedIn 1.0.0
Topic revision: r26 - 05 Nov 2009, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License