Index: includes/ImagePage.php
===================================================================
--- includes/ImagePage.php (revision 85147)
+++ includes/ImagePage.php (working copy)
@@ -1064,16 +1064,16 @@
// Uploading user
$row .= '
';
- if ( $local ) {
- // Hide deleted usernames
- if ( $file->isDeleted( File::DELETED_USER ) ) {
- $row .= '' . wfMsgHtml( 'rev-deleted-user' ) . '';
- } else {
+ // Hide deleted usernames
+ if ( $file->isDeleted( File::DELETED_USER ) ) {
+ $row .= '' . wfMsgHtml( 'rev-deleted-user' ) . '';
+ } else {
+ if ( $local ) {
$row .= $this->skin->userLink( $user, $usertext ) . " " .
$this->skin->userToolLinks( $user, $usertext ) . "";
+ } else {
+ $row .= htmlspecialchars( $usertext );
}
- } else {
- $row .= htmlspecialchars( $usertext );
}
$row .= ' | ';
|