From: Jeff D. <da...@da...> - 2001-11-12 17:15:58
|
> is there any reason for that restriction? No, I guess not. I think you can fix it by changing the regexp in the call to $transform->register() around line 298 of lib/transform.php. My untested guess is that changing "$InterWikiLinkRegexp:$WikiNameRegexp" to "$InterWikiLinkRegexp:\\S+" will do the trick. Spaces will still not be allowed in the RHSs (unless brackets are used) for fairly obvious reasons. If I remember, I'll fix it in CVS in a couple of days. If I don't remember, remind me. On Mon, 12 Nov 2001 09:01:26 -0800 (PST) "Adam Shand" <ad...@pe...> wrote: > > > (It's not obvious from the code,) but you can use arbitrary right hand > > sides if you put the whole thing in square brackets, like: > > [PhpWiki:square brackets]. > > okay that'll work. is there any reason for that restriction? it just > makes doing things this ugly: > > Google:PhpWiki or ISBN:12-34566-789 or Category:Documentation > > adam. > -- -- Jeff Dairiki <da...@da...> |