You are here: Foswiki>Tasks Web>Item113 (05 Nov 2009, MichaelDaum)Edit Attach
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 twiki.org 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:

.newNameTextarea,
.newNameInputField,
.newNameInputFieldDisabled,
.newNameInputFieldReadOnly,
.twikiTextarea, /* deprecated */
.twikiInputField, /* deprecated */
.twikiInputFieldDisabled, /* deprecated */
.twikiInputFieldReadOnly /* deprecated */ {
   font-size:100%;
}

-- 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:

(twiki)(WebIndent|Unvisited|TopRow|Topic|TocTitle|Toc|TextareaRawView|Textarea|TableRow|TableOdd|TableEven|TableCol|Table|Summary|SubmitDisabled|Submit|SRRev|SRAuthor|SortedDescendingCol|SortedCol|SortedAscendingCol|Smallish|Small|Separator|SelectDisabled|Select|SearchTable|SearchResultCount|Right|RadioButton|PreviewArea|PopUp|PageForm|Page|Notification|NoBreak|NewLink|New|MakeVisibleInline|MakeVisibleBlock|MakeVisible|MakeHidden|Main|Logo|Login|LinkLabel|LinkInHeaderRight|Link|Left|InputFieldReadOnly|InputFieldFocus|InputFieldDisabled|InputFieldBeforeFocus|InputField|Image|Hidden|Help|GrayText|FormTableRow|FormTableHRow|FormTableFooter|FormTable|FormSteps|FormStep|FormHolder|Form|FooterNote|Focus|FirstCol|EmulatedLink|EditForm|EditboxStyleProportional|EditboxStyleMono|DiffUnchangedTextContents|DiffUnchangedText|DiffTable|DiffLineNumberHeader|DiffDeletedText|DiffDeletedMarker|DiffDeletedHeader|DiffDebugRight|DiffDebugLeft|DiffDebug|DiffChangedText|DiffChangedHeader|DiffAddedText|DiffAddedMarker|DiffAddedHeader|CurrentWebHomeLink|CurrentTopicLink|ContentHeader|ContentFooter|Clear|Checkbox|ChangeFormButtonHolder|ChangeFormButton|ButtonDisabled|ButtonCancel|Button|BroadcastMessage|BottomRow|Attachments|AnchorLink|Alert|ActionFormStepSign|AccessKey|LastCol|Last|TableCol|TableRowdataBgSorted|TableRowdataBg)

Hits are of course replaced by foswiki\2.

Core extensions are done now.

As shown in Invalid svn rev, 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/Store.pm 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
Component
Priority Urgent
CurrentState Closed
WaitingFor
Checkins ActionTrackerPlugin:80dfb8228d9c AliasPlugin:52a92e60e4d8 ApprovalPlugin:003b96b897f7 AttachmentListPlugin:a98cba86375b AutoCompletePlugin:ea48a6fe9f53 BatchUploadPlugin:94154a50ac0f BibtexPlugin:5f6495ef2845 BlackListPlugin:f52d8ad1031e BlogAddOn:d203cf6c36fe BlogPlugin:7a25d450daf0 BugsContrib:cd9ab2121f57 ClassificationPlugin:0d2050c4c89e CreateTopicTag:b58c5bebd4c1 DatabasePlugin:f41b7c0e0929 DBCacheContrib:84b46f9ca974 DBCachePlugin:5abdfe6d8886 distro:1504aa3fdbe4 EditContrib:b687919eeacf EditHiddenTablePlugin:4e7dcd0dec75 EditTablerowPlugin:2a88696e0c48 FlexWebListPlugin:7167bb3e5f88 FormFieldListPlugin:39a2c5618921 FormQueryPlugin:fafb91fb254c FundraisingPlugin:7e5c5b8a5700 GenerateSearchPlugin:0b18455983b2 GenPDFAddOn:88a0c77a4e53 GoogleAjaxSearchPlugin:5d2d2d1a49ea HeadlinesPlugin:a8a9142bdb6b HostnamePlugin:57985186517e ImagePlugin:efbdbd80917e ImgPlugin:0a2c0b1c5413 LdapNgPlugin:7f02cd2ca6ee LinkOptionsPlugin:26163f29feaa MathModePlugin:6fb365cd291d MetaWorkflowPlugin:66d3fb5f2be3 MostPopularPlugin:7a38367a776e MoveableTypeSkin:d0723b84fd7b NatSkin:6042b37bbcb7 NatSkinPlugin:d3a9b5b4f136 NetgrepPlugin:3c025d836976 PersonalInfoAddOn:75783027b3aa PhotoarchivePlugin:60a91e1ee18e PingBackPlugin:237868ddc7fd PublishPlugin:759640fada6c QuickMenuSkin:c3ee53888ed7 QuizPlugin:0b8e15f245a8 RedirectPlugin:a9ae04be57d5 RenderTableDataPlugin:170f80a25d0e SearchSummaryPlugin:9dcbc7df2673 SkillsPlugin:ec2ba6392669 SmartEditContrib:ba9eb22920f1 SpanishTWikiContrib:955f00d28817 SyntaxHighlightingPlugin:3a5fa514a208 TagCloudPlugin:a111559dc22d TagMePlugin:8ce519c7a529 TaskExeContrib:efca2595fd18 TimeSincePlugin:f34bbd3bb907 ToolTipPlugin:bd6a8cd42fc3 TopicClassificationAddOn:852f93c2d07b TopicReferencePlugin:95840ce3b8cf TracQueryPlugin:367ee4007aad TreeBrowserPlugin:a8c4b181de17 TWikiAjaxContrib:22976d9a62b0 VotePlugin:edf67b3dc640 WidgetsSkin:1e4f4d3c198a WorkflowPlugin:8c2974c0e5de WorkflowReportsContrib:fd18d76457bf YetAnotherXpTrackerPlugin:06470d14c7b2 ActionTrackerPlugin:a6b1b14debb0 AutoCompletePlugin:043938ac87ab BlogAddOn:b38b508d3019 BugsContrib:ee4c4f6adbf6 ClassificationPlugin:bac25d43d36b ComponentEditPlugin:9ae7e9484eb3 ControlsPlugin:a43631b0c148 distro:3f4ad6265ad5 EditChapterPlugin:05f6b7ba1eaa FormPlugin:0cf1e7dc867c GoogleAjaxSearchPlugin:f323138b66ef JSPopupPlugin:eef530c5a7a8 MoveableTypeSkin:1a3e8c1e7532 NatSkin:09fa08aead96 PersonalInfoAddOn:f95d04aec2c4 QuickMenuSkin:764a81dadc7d SendEmailPlugin:7b4d0808aac8 SlideNavPlugin:16849e83e030 SpanishTWikiContrib:47dca0b4088d TopicClassificationAddOn:7ee9ff0801f8 TWikiAjaxContrib:4543d10f6858 TWikiAjaxPlugin:b02e80e6fdde WidgetsSkin:bd34f2ab09a1 distro:aaf46fcc0c12 distro:7d39c8f41499 distro:6702e8e10d5b
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 Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy