summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/interwiki.conf6
-rw-r--r--inc/parser/xhtml.php2
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);