summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Klier <chi@chimeric.de>2008-10-11 21:03:00 +0200
committerMichael Klier <chi@chimeric.de>2008-10-11 21:03:00 +0200
commita7b96b2a7388ebcb852d93ef9d80c1195d3722ed (patch)
treee5801d05bdcb35b7b8f6877dfbcf918c065ec6bc
parentb32df754fa89245bb5db52248da4b8d1453df7f5 (diff)
downloadrpg-a7b96b2a7388ebcb852d93ef9d80c1195d3722ed.tar.gz
rpg-a7b96b2a7388ebcb852d93ef9d80c1195d3722ed.tar.bz2
fix for FS#1305
darcs-hash:20081011190300-23886-3d5d5e2d1774a802ce9da841812a8838b2945d86.gz
-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);