Might as well show username here if allowed
authorAaron Schulz <aaron@users.mediawiki.org>
Sun, 16 Mar 2008 21:24:52 +0000 (21:24 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sun, 16 Mar 2008 21:24:52 +0000 (21:24 +0000)
includes/Article.php

index 15d2a3d..805a5cd 100644 (file)
@@ -2728,8 +2728,9 @@ class Article {
                        }
                        $cdel = "(<small>$cdel</small>) ";
                }
-               
-               $userlinks = $sk->revUserTools( $revision, true );
+               # Show user links if allowed to see them. Normally they
+               # are hidden regardless, but since we can already see the text here...
+               $userlinks = $sk->revUserTools( $revision, false );
 
                $m = wfMsg( 'revision-info-current' );
                $infomsg = $current && !wfEmptyMsg( 'revision-info-current', $m ) && $m != '-'