diff options
author | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-02-15 11:11:15 +0100 |
---|---|---|
committer | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-02-15 11:11:15 +0100 |
commit | 2345e871e407dbece52f3181cd8b077f07cbb0c1 (patch) | |
tree | 96d4227cd8763a2147aed5cdf73d7cdbc1220d4d /inc/common.php | |
parent | 2d6df7955d82d34f7a58b289fa04755c5ab9146e (diff) | |
download | rpg-2345e871e407dbece52f3181cd8b077f07cbb0c1.tar.gz rpg-2345e871e407dbece52f3181cd8b077f07cbb0c1.tar.bz2 |
wikilink creating refactored to _resolveinterwiki().
Added DOKU_BASE for local target
Diffstat (limited to 'inc/common.php')
-rw-r--r-- | inc/common.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/inc/common.php b/inc/common.php index 22e57b2c5..e991375f5 100644 --- a/inc/common.php +++ b/inc/common.php @@ -1497,9 +1497,7 @@ function userinfo($username = null) { $xhtml_renderer->interwiki = getInterwiki(); } $shortcut = 'user'; - $url = $xhtml_renderer->_resolveInterWiki($shortcut, $username); - list($url, $urlparam) = explode('?', $url, 2); - $data['link']['url'] = wl($url, $urlparam); + $data['link']['url'] = $xhtml_renderer->_resolveInterWiki($shortcut, $username); } } else { $data['link'] = false; |