From: Aaron Schulz Date: Tue, 28 Oct 2008 20:15:37 +0000 (+0000) Subject: Don't use public-audience-only function X-Git-Tag: 1.31.0-rc.0~44527 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=59254f1bc827cec0872a27d222a3d1f4f9beadda;p=lhc%2Fweb%2Fwiklou.git Don't use public-audience-only function --- diff --git a/includes/specials/SpecialUndelete.php b/includes/specials/SpecialUndelete.php index 9152076c83..d96c292ec6 100644 --- a/includes/specials/SpecialUndelete.php +++ b/includes/specials/SpecialUndelete.php @@ -1223,8 +1223,8 @@ class UndeleteForm { if( !$file->userCan(File::DELETED_USER) ) { return '' . wfMsgHtml( 'rev-deleted-user' ) . ''; } else { - $link = $sk->userLink( $file->getUser(), $file->getUserText() ) . - $sk->userToolLinks( $file->getUser(), $file->getUserText() ); + $link = $sk->userLink( $file->getRawUser(), $file->getRawUserText() ) . + $sk->userToolLinks( $file->getRawUser(), $file->getRawUserText() ); if( $file->isDeleted(File::DELETED_USER) ) $link = '' . $link . ''; return $link;