From a7b96b2a7388ebcb852d93ef9d80c1195d3722ed Mon Sep 17 00:00:00 2001 From: Michael Klier Date: Sat, 11 Oct 2008 21:03:00 +0200 Subject: fix for FS#1305 darcs-hash:20081011190300-23886-3d5d5e2d1774a802ce9da841812a8838b2945d86.gz --- conf/interwiki.conf | 6 +++--- inc/parser/xhtml.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/interwiki.conf b/conf/interwiki.conf index 333d738f1..bd4aa2098 100644 --- a/conf/interwiki.conf +++ b/conf/interwiki.conf @@ -7,9 +7,9 @@ # You can add more InterWiki shortcuts here. -wp http://en.wikipedia.org/wiki/ -wpde http://de.wikipedia.org/wiki/ -wpmeta http://meta.wikipedia.org/wiki/ +wp http://en.wikipedia.org/wiki/{NAME} +wpde http://de.wikipedia.org/wiki/{NAME} +wpmeta http://meta.wikipedia.org/wiki/{NAME} schoki http://www.schokilade.de/doku.php?id= doku http://www.dokuwiki.org/ freecache http://freecache.org/{NAME} diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index 9609842bf..21d5da8aa 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -579,7 +579,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { $link['name'] = $this->_getLinkTitle($name, $wikiUri, $isImage); //get interwiki URL - $url = $this-> _resolveInterWiki($wikiName,$wikiUri); + $url = $this->_resolveInterWiki($wikiName,$wikiUri); if ( !$isImage ) { $class = preg_replace('/[^_\-a-z0-9]+/i','_',$wikiName); -- cgit v1.2.3