Re: Introduction and Hyphen Problem
[email protected] (Brian Ingerson) Sat, 27 Nov 2004 16:10:21 -0800
| Newsgroups | perl.kwiki |
|---|---|
| Message-ID | <[email protected]> |
On 02/11/04 10:07 -0500, Jeremy Smith wrote: > MJ Ray wrote: > > >On 2004-10-26 17:30:20 +0100 Jeremy Smith <[email protected]> wrote: > > > >> Has anyone found a way to allow hyphens into wiki links? [...] > > > > The way to allow hyphens or anything else in wiki words is to subclass the formatter. I won't go into detail here and now. Maybe someone else can. I decided to make the wiki link limited to unicode letters and numbers. Keep it simple. IIRC that means no '-' or ':'. I'm not against folks using this. I just wanted the core to be simple. The regexp for wiki links currently is: qr/[$UPPER](?=[$WORD]*[$UPPER])(?=[$WORD]*[$LOWER])[$WORD]+/ > >In 0.18, this would mean overriding Kwiki::Formatter::wiki_link() and > >possibly _format, but I expect you knew that already. > > In 0.18, the hyphens worked as one would expect them to. That's > sorta of the problem. When I upgraded from 0.18 to 0.3x, I lost the > ability to visit any of the previous nodes who had hyphenated node titles. > > > > >>http://kwiki.org/?BugReports, but it was Warnocked. > > > > > >Warnocked? > > http://www.nntp.perl.org/group/perl.perl6.language/15407 If that means "ignored" well sorry about that. I read everything (eventually) (usually), but I have becomed swamped by the relative success of my ideas, so I can't respond to everything. I just try to stuff it all back in my wetware so hopefully it's there when I get a few tuits. Cheers, Brian