Hi,
I ended finding a solution that I am happy with, even if it isn't perfect. For the
benefit of others:
Using the orginal define of EXT_LINK_BRACKETED in Parser.php I removed \b (word break).
Then in DefaultSettings.php I added '/' to the $wgUrlProtocols array. This
provides the nessary functionality but causes a warning, in Parser.php at the line which
reads:
if ( strpos( wfUrlProtocols(), substr($protocol, 0, strpos($protocol, ':')) ) !==
false )
this is because it assumes to find ':' but does not find it, so I changed it to:
if ( strpos($protocol, ':') && strpos( wfUrlProtocols(), substr($protocol,
0, strpos($protocol, ':')) ) !== false )
Andre
Show replies by date