dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9f3c44
)
Much, much easier to call Linker::link() statically instead of grabbing a Skin from...
author
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Thu, 30 Jun 2011 14:53:37 +0000
(14:53 +0000)
committer
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Thu, 30 Jun 2011 14:53:37 +0000
(14:53 +0000)
includes/User.php
patch
|
blob
|
history
diff --git
a/includes/User.php
b/includes/User.php
index
fdf2688
..
4284550
100644
(file)
--- a/
includes/User.php
+++ b/
includes/User.php
@@
-3523,9
+3523,7
@@
class User {
}
$title = self::getGroupPage( $group );
if( $title ) {
- global $wgUser;
- $sk = $wgUser->getSkin();
- return $sk->link( $title, htmlspecialchars( $text ) );
+ return Linker::link( $title, htmlspecialchars( $text ) );
} else {
return $text;
}