[dokuwiki] handling of certain schemes within external link
- From: ytrewq1 <ytrewq1@xxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Thu, 28 Jul 2005 19:59:19 +0800
On Mac OS X 10.4 there is a scheme named 'x-man-page'.
With the 2005-07-13 version of DokuWiki, these don't show
up appropriately in external links.
I tried changing line 413 of my inc/parser/handler.php as
follows:
}elseif ( preg_match('#^([a-z0-9-]+?)://#i',$link[0]) ) {
(just added a '-' to the regular expression) and now the
'x-man-page' links appear to show up ok. Is this an
appropriate way to handle this issue? Also, in general if
there are custom schemes that don't appear to be handled
by DokuWiki, is modifying this regular expression an
appropriate way to cope (and sufficient)?
Thanks for any help.
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: handling of certain schemes within external link
- From: Andreas Gohr
Other related posts:
- » [dokuwiki] handling of certain schemes within external link
- » [dokuwiki] Re: handling of certain schemes within external link
- » [dokuwiki] Re: handling of certain schemes within external link
- » [dokuwiki] Re: handling of certain schemes within external link
- [dokuwiki] Re: handling of certain schemes within external link
- From: Andreas Gohr