• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7700 for generic doc work for TWiki-6.0.2. Use View topic Item7703 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.

Item6209: underscores in topic name with WebTopicCreator are not possible

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine WebTopicCreator Normal Closed   patch 5.1.0, 5.0.2

Edit Form Data

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

Detail

-- TWiki:Main/SebastianGiebeler - 09 Mar 2009

Can not create topic names like this: New_Topic_Name.
In previous version of TWiki I activated "Allow non WikiWord for the new topic name" and this worked fine.
When I activate this now, TWiki removes the underscore in the new topic name.
After saving then the topic like this "NewTopicName" I can go to rename it to "New_Topic_Name".


Hi Sebastian,

if anyone is still interested in a workaround - although the report is two years old - here is one, which works for my twiki4.3:

go to pub/TWiki/TWikiJavascripts and edit twikiString.pm. At the end of the file you find the definition for the variable MIXED_ALPHANUM_CHARS. Just add a + "_" before the ; . Thats it, as everything not in MIXED_ALPHANUM_CHARS is deleted during function "removePunctuation".

And I don't think that an underscore can do any harm ...

-- TWiki:Main.CarlaReitzenstein - 2011-06-07

This is now fixed properly in SVN trunk and 5.0 branch.

-- TWiki:Main.PeterThoeny - 2011-06-12

Thanks Peter!

-- TWiki:Main.CarlaReitzenstein - 2011-06-15

ItemTemplate
Summary underscores in topic name with WebTopicCreator are not possible
ReportedBy TWiki:Main.SebastianGiebeler
Codebase ~twiki4, 4.2.4
SVN Range TWiki-5.0.0, Mon, 23 Feb 2009, build 17838
AppliesTo Engine
Component WebTopicCreator
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:21481 TWikirev:21482 TWikirev:21483 TWikirev:21484 TWikirev:21485 TWikirev:21486
TargetRelease patch
ReleasedIn 5.1.0, 5.0.2
Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r11 - 2011-08-22 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback