Tags:
create new tag
view all tags

Bug: No Bold Wiki Words

Camel-cased words made bold using the * * construction are not WikiWords.

Test case

ThisIsALink ThisShouldBeABoldLink
[[IShouldntHaveToDoThis][ *IShouldntHaveToDoThis* ]]: IShouldntHaveToDoThis -- ShaughanLavine - 15 Mar 2005

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  

-- ShaughanLavine - 15 Mar 2005

Impact and Available Solutions

Follow up

Fix record

Discussion

I'm unsure whether what you suggest is legal TWikiML, I don't believe so ("only WikiWords that are preceeded by whitespace or paranthesis will get automatically linked" - according to http://twiki.org/cgi-bin/view/TWiki/TextFormattingRules#TWiki_Editing_Shorthand).

What about this construct instead:

*[[ThisShouldBeABoldLink]]* : ThisShouldBeABoldLink

At least, that's perfectly legal smile

-- SteffenPoulsen - 16 Mar 2005

Steffen is right. The behaviour is no bug, it's in line with the specification.

Do we have a state classification for BugRejected?

-- FranzJosefSilli - 16 Mar 2005

"NeedsARethink". It's a bit less caustic than "rejected", especially in cases where it might be the analysis that is at fault, and not the report. wink

-- CrawfordCurrie - 16 Mar 2005

I think the author of this report intended to question the specification...

-- ThomasWeigert - 16 Mar 2005

smile So this becomes a FeatureRequest?

-- FranzJosefSilli - 16 Mar 2005

If they intended to question the spec, it should have been clearer in the report. Personally I don't agree with the proposed spec change; I find it very useful to be able to trivially escape wikiwords that way.

-- CrawfordCurrie - 16 Mar 2005

If you want to escape a wiki word, use the new, more-trivial and no-side-effect mechanism: prefix with a !

-- MartinCleaver - 16 Mar 2005

So you want me to have to write *!FrankNStein*? Bleagh. As is usually the case with these things, someone else is welcome to work out the code that handles all the gribbly little corner cases and submit it as a patch (which I then reserve the right to ignore).

-- CrawfordCurrie - 16 Mar 2005

But it is counter intuitive, isn't it? Why would WebHome make a link now and WebHome not?

The same goes for underscores (italics): _WebHome_ becomes WebHome.

Of course, this is in the specs, but does this mean it was always intended like this? Or is it just too difficult to program?

-- ArthurClemens - 13 Apr 2005

The corner cases are hard to work out, yes. But anything can be programmed - all you need is an infinite number of monkeys.

-- CrawfordCurrie - 13 Apr 2005

Purely from a consistency point of view, I'd argue that the link FrankNStein is 
inituitively bolded as *FrankNStein* and that the non-link !FrankNStein is intuitively 
bolded as *!FrankNStein*

*FrankNStein* being not linked is a side-effect of the current implementation.

-- MartinCleaver - 13 Apr 2005

Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r12 - 2005-04-13 - MartinCleaver
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.