Index: trunk/extensions/SocialProfile/UserProfile/SpecialRemoveAvatar.php |
— | — | @@ -65,12 +65,12 @@ |
66 | 66 | $this->deleteImage( $user_id, 'l' ); |
67 | 67 | $this->deleteImage( $user_id, 'ml' ); |
68 | 68 | |
69 | | - $log = new LogPage( wfMsgForContent( 'user-profile-picture-log' ) ); |
| 69 | + $log = new LogPage( 'avatar' ); |
70 | 70 | if ( !$wgUploadAvatarInRecentChanges ) { |
71 | 71 | $log->updateRecentChanges = false; |
72 | 72 | } |
73 | 73 | $log->addEntry( |
74 | | - wfMsg( 'user-profile-picture-log' ), |
| 74 | + 'avatar', |
75 | 75 | $wgUser->getUserPage(), |
76 | 76 | wfMsg( 'user-profile-picture-log-delete-entry', $user_deleted->getName() ) |
77 | 77 | ); |
Index: trunk/extensions/SocialProfile/UserProfile/SpecialUpdateProfile.php |
— | — | @@ -104,12 +104,12 @@ |
105 | 105 | |
106 | 106 | UserProfile::clearCache( $wgUser->getID() ); |
107 | 107 | |
108 | | - $log = new LogPage( wfMsgForContent( 'user-profile-update-profile' ) ); |
| 108 | + $log = new LogPage( 'profile' ); |
109 | 109 | if ( !$wgUpdateProfileInRecentChanges ) { |
110 | 110 | $log->updateRecentChanges = false; |
111 | 111 | } |
112 | 112 | $log->addEntry( |
113 | | - wfMsgForContent( 'user-profile-update-profile' ), |
| 113 | + 'profile', |
114 | 114 | $wgUser->getUserPage(), |
115 | 115 | wfMsgForContent( 'user-profile-update-log-section' ) . |
116 | 116 | " '{$section}'" |
Index: trunk/extensions/SocialProfile/UserProfile/SpecialEditProfile.php |
— | — | @@ -88,7 +88,7 @@ |
89 | 89 | |
90 | 90 | UserProfile::clearCache( $target->getID() ); |
91 | 91 | |
92 | | - $log = new LogPage( wfMsgForContent( 'user-profile-update-profile' ) ); |
| 92 | + $log = new LogPage( 'profile' ); |
93 | 93 | if ( !$wgUpdateProfileInRecentChanges ) { |
94 | 94 | $log->updateRecentChanges = false; |
95 | 95 | } |
Index: trunk/extensions/SocialProfile/UserProfile/UserProfile.i18n.php |
— | — | @@ -93,7 +93,6 @@ |
94 | 94 | 'user-profile-update-saved' => 'Your profile has been saved', |
95 | 95 | 'user-profile-edit-profile-update-saved' => 'The user\'s profile was successfully saved', |
96 | 96 | 'user-profile-update-log-section' => 'changed section', |
97 | | - 'user-profile-update-profile' => 'profile', |
98 | 97 | 'user-profile-default-country' => 'United States', |
99 | 98 | 'user-profile-points' => '$1 {{PLURAL:$1|point|points}}', |
100 | 99 | 'user-profile-section-personal' => 'Personal information', |
— | — | @@ -193,7 +192,6 @@ |
194 | 193 | 'avatarlogpage' => 'Avatar upload log', |
195 | 194 | 'avatarlogpagetext' => 'This is a log of user avatar uploads', |
196 | 195 | 'avatarlogentry' => '', # For compatibility, don't translate this |
197 | | - 'user-profile-picture-log' => 'avatar', |
198 | 196 | 'user-profile-picture-log-entry' => 'uploaded new avatar', |
199 | 197 | 'user-profile-picture-log-delete-entry' => 'deleted $1\'s avatar', |
200 | 198 | 'userprofile-country-list' => ' |
Index: trunk/extensions/SocialProfile/UserProfile/SpecialUploadAvatar.php |
— | — | @@ -68,12 +68,12 @@ |
69 | 69 | private function showSuccess( $ext ) { |
70 | 70 | global $wgUser, $wgOut, $wgDBname, $wgUploadPath, $wgUploadAvatarInRecentChanges; |
71 | 71 | |
72 | | - $log = new LogPage( wfMsgForContent( 'user-profile-picture-log' ) ); |
| 72 | + $log = new LogPage( 'avatar' ); |
73 | 73 | if ( !$wgUploadAvatarInRecentChanges ) { |
74 | 74 | $log->updateRecentChanges = false; |
75 | 75 | } |
76 | 76 | $log->addEntry( |
77 | | - wfMsgForContent( 'user-profile-picture-log' ), |
| 77 | + 'avatar', |
78 | 78 | $wgUser->getUserPage(), |
79 | 79 | wfMsgForContent( 'user-profile-picture-log-entry' ) |
80 | 80 | ); |