From 0c8e2350e424583c072a695881c6f469954e1d12 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Tue, 4 Jul 2006 08:17:54 +0000 Subject: [PATCH] * (bug 6185) Add standard user tool links to log page views --- RELEASE-NOTES | 1 + includes/SpecialLog.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 3e8b512110..84ac62aabe 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -639,6 +639,7 @@ Some default configuration options have changed: * (bug 6523) Fix SVG issue in rebuildImages.php * (bug 6512) Link to page-specific logs on page histories * (bug 6504) Allow configuring session name with $wgSessionName +* (bug 6185) Add standard user tool links to log page views == Compatibility == diff --git a/includes/SpecialLog.php b/includes/SpecialLog.php index dae0ce7afa..a9e8573ac9 100644 --- a/includes/SpecialLog.php +++ b/includes/SpecialLog.php @@ -316,7 +316,7 @@ class LogViewer { $linkCache->addBadLinkObj( $title ); } - $userLink = $this->skin->makeLinkObj( $user, htmlspecialchars( $s->user_name ) ); + $userLink = $this->skin->userLink( $s->log_user, $s->user_name ) . $this->skin->userToolLinks( $s->log_user, $s->user_name ); $comment = $this->skin->commentBlock( $s->log_comment ); $paramArray = LogPage::extractParams( $s->log_params ); $revert = ''; -- 2.20.1