dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
f4717b4
)
Merge "User: Avoid deprecated Linker::link()"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Wed, 28 Jun 2017 12:49:55 +0000
(12:49 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Wed, 28 Jun 2017 12:49:55 +0000
(12:49 +0000)
includes/user/User.php
patch
|
blob
|
history
diff --git
a/includes/user/User.php
b/includes/user/User.php
index
52c14f7
..
a1119fa
100644
(file)
--- a/
includes/user/User.php
+++ b/
includes/user/User.php
@@
-4957,7
+4957,8
@@
class User implements IDBAccessObject {
}
$title = UserGroupMembership::getGroupPage( $group );
if ( $title ) {
- return Linker::link( $title, htmlspecialchars( $text ) );
+ return MediaWikiServices::getInstance()
+ ->getLinkRenderer()->makeLink( $title, $text );
} else {
return htmlspecialchars( $text );
}