If we have user tool links even in the page history, we should have it also in the...
authorRotem Liss <rotem@users.mediawiki.org>
Wed, 5 Jul 2006 19:50:50 +0000 (19:50 +0000)
committerRotem Liss <rotem@users.mediawiki.org>
Wed, 5 Jul 2006 19:50:50 +0000 (19:50 +0000)
includes/SpecialUndelete.php

index 72262f8..695c8c2 100644 (file)
@@ -658,7 +658,7 @@ class UndeleteForm {
                                        $checkBox = '';
                                        $pageLink = $wgLang->timeanddate( $ts, true );
                                }
-                               $userLink = $sk->userLink( $row->ar_user, $row->ar_user_text );
+                               $userLink = $sk->userLink( $row->ar_user, $row->ar_user_text ) . $sk->userToolLinks( $row->ar_user, $row->ar_user_text );
                                $comment = $sk->commentBlock( $row->ar_comment );
                                $wgOut->addHTML( "<li>$checkBox $pageLink . . $userLink $comment</li>\n" );
        
@@ -686,7 +686,7 @@ class UndeleteForm {
                                        $checkBox = '';
                                        $pageLink = $wgLang->timeanddate( $ts, true );
                                }
-                               $userLink = $sk->userLink( $row->fa_user, $row->fa_user_text );
+                               $userLink = $sk->userLink( $row->fa_user, $row->fa_user_text ) . $sk->userToolLinks( $row->fa_user, $row->fa_user_text );
                                $data =
                                        wfMsgHtml( 'widthheight',
                                                $wgLang->formatNum( $row->fa_width ),