From 782c99f068937b62888166636e001e6670ef03d3 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Sun, 25 Jun 2006 02:46:24 +0000 Subject: [PATCH] * (bug 6314) Add user tool links on page histories --- RELEASE-NOTES | 1 + includes/PageHistory.php | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index e5517b15bd..a9bbcb6443 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -561,6 +561,7 @@ Some default configuration options have changed: return blank content (as opposed to the message key) * Improve default blank content of MediaWiki:Common.css and MediaWiki:Monobook.css * (bug 6434) Allow customisation of submit button text on Special:Export +* (bug 6314) Add user tool links on page histories == Compatibility == diff --git a/includes/PageHistory.php b/includes/PageHistory.php index 074c3eda41..950238290c 100644 --- a/includes/PageHistory.php +++ b/includes/PageHistory.php @@ -243,8 +243,10 @@ class PageHistory { $lastlink = $this->lastLink( $rev, $next, $counter ); $arbitrary = $this->diffButtons( $rev, $firstInList, $counter ); $link = $this->revLink( $rev ); - $user = $this->mSkin->revUserLink( $rev ); - + + $user = $this->mSkin->userLink( $rev->getUser(), $rev->getUserText() ) + . $this->mSkin->userToolLinks( $rev->getUser(), $rev->getUserText() ); + $s .= "($curlink) ($lastlink) $arbitrary"; if( $wgUser->isAllowed( 'deleterevision' ) ) { -- 2.20.1