From 2a2a43c4fa64079215d205d1faf50ab8a59caaab Mon Sep 17 00:00:00 2001
From: Gerrit Uitslag <klapinklapin@gmail.com>
Date: Mon, 17 Feb 2014 00:37:28 +0100
Subject: [PATCH] change default userspace to :user:<username> and add
 interwiki class

---
 conf/interwiki.conf | 2 +-
 inc/common.php      | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/conf/interwiki.conf b/conf/interwiki.conf
index 0643f764b..d961912e5 100644
--- a/conf/interwiki.conf
+++ b/conf/interwiki.conf
@@ -30,7 +30,7 @@ sb        http://www.splitbrain.org/go/
 skype     skype:{NAME}
 google.de http://www.google.de/search?q=
 go        http://www.google.com/search?q={URL}&amp;btnI=lucky
-user      :wiki:users:{NAME}
+user      :user:{NAME}
 
 # To support VoIP/SIP links
 callto    callto://{NAME}
diff --git a/inc/common.php b/inc/common.php
index aa59a8c11..4a5ead6b8 100644
--- a/inc/common.php
+++ b/inc/common.php
@@ -1498,6 +1498,7 @@ function userinfo($username = null) {
                         }
                         $shortcut = 'user';
                         $data['link']['url'] = $xhtml_renderer->_resolveInterWiki($shortcut, $username, $exists);
+                        $data['link']['class'] .= ' interwiki iw_user';
                         if($exists !== null) {
                             if($exists) {
                                 $data['link']['class'] .= ' wikilink1';
-- 
GitLab