Tags:
create new tag
, view all tags
Various trials I've run to confirm various aspects of TWiki behavior.

Contents

No spaces around emdash

Now that I know the proper (English) syntax for an emdash, I want to see if it works on TWiki:

trying--two dashes

trying—HTML entity

Seems fine for normal text—don't know if there'll be some gotchas elsewhere.

\xa0 as a Non-Breaking Space

1.2.Declaring
This is a test of a \xa0 character to see if it is a non-breaking space.

Yup, it is, as this shows up as a "definition" item. The \xa0 character shows up as a space between the "1.2." and "Declaring".

I forget, how did I insert the \xa0 character? Maybe cut and paste from something like Nedit?

TWiki Name Including Underbar

Testing the ability to link to A TWiki name including an underbar:

TildeSlashDotBash_history TildeSlashDotBash_history

[[TildeSlashDotBash_history]] TildeSlashDotBash_history

It works with the square bracket markup, not otherwise. Interesting thing to note: some people call the links with square brackets "free links" (I've seen this on other wikis if not on TWiki), I tend to call them "forced links". Interesting difference in perspective (and am I always odd man out?).

Links to Anchors

Testing the ability to link to an anchor on another TWiki page without the entire URL, e.g.:

OK, those work, and I'm sure the variations with a plain text label will work as well.

Interwiki Link to a TWiki including an Anchor

not tested, so far

So, an Interwiki link to a TWiki could have a syntax like this?:

[[<InterTWiki>:<Web>.<TWikiPage>#<anchor>]]

Testing Punctuation in Headings / Anchors

AFAICT:

  • most punctuation is replaced with "_"
  • consecutive (adjacent) "_"s are replaced with a single "_"

Although I could look at the TWiki source to see what they do (and how it is done), testing here first seems somewhat easy.

Test~`!@#$%^&*()+={}[]|\:;"'<,>.?/Heading

Update: I realized I can use an RE like [^a-zA-Z0-9]+ which pretty well matches all punctuation. (If I really wanted to, I could add \r, \n, \t, and ?? to avoid matching them.)

The resulting anchor is Test#Test_Heading which indicates that all the punctuation (that I can think of, or find on the keyboard) is replaced with "_" and multiple "_"s are supressed.

I could paste the above string of punctuation in my macro, but I'm sure some of those characters have to be escaped. I'm not immediately sure which do and which don't. Surely / will have to be escaped.

Change Detection

Attempting to add a ChangeDetection.com panel

Monitor page
for changes
<form action="http://www.ChangeDetection.com/detect.html" method="get" target=ChangeDetectionWiz>   <INPUT TYPE="TEXT" NAME="email" SIZE="12" value="enter email">  
  <input type="submit" name="enter" value=" OK " onclick="window.open('', 'ChangeDetectionWiz', 'resizable=yes,scrollbars=yes,width=624,height=460' );return true"> <a href="http://www.ChangeDetection.com/privacy.html" target=ChangeDetectionPrivacy onclick="window.open('http://www.ChangeDetection.com/privacy.html', 'ChangeDetectionPrivacy', 'resizable=yes,scrollbars=yes,width=624,height=400');return false"> it's private  

by ChangeDetection

Notification

Just a note, on May 5, 2004 I received a notice that the page changed. I can't (readily) see anything that changed, I'm assuming there was a change and it was more like something the core developers did to the template or something similar.

I wonder if I'll get notification of this change?

Contributors

PageRating

Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2004-12-15 - RandyKramer
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by PerlCopyright 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding WikiLearn? WebBottomBar">Send feedback
See TWiki's New Look