From: Rob Church Date: Sun, 25 Jun 2006 02:46:24 +0000 (+0000) Subject: * (bug 6314) Add user tool links on page histories X-Git-Tag: 1.31.0-rc.0~56620 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=782c99f068937b62888166636e001e6670ef03d3;p=lhc%2Fweb%2Fwiklou.git * (bug 6314) Add user tool links on page histories --- 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' ) ) {