Index: trunk/phase3/includes/logging/LogFormatter.php |
— | — | @@ -240,6 +240,17 @@ |
241 | 241 | } |
242 | 242 | break; |
243 | 243 | |
| 244 | + case 'upload': |
| 245 | + switch( $entry->getSubtype() ) { |
| 246 | + case 'upload': |
| 247 | + $text = wfMsgExt( 'uploadedimage', $msgOpts, $target ); |
| 248 | + break; |
| 249 | + case 'overwrite': |
| 250 | + $text = wfMsgExt( 'overwroteimage', $msgOpts, $target ); |
| 251 | + break; |
| 252 | + } |
| 253 | + break; |
| 254 | + |
244 | 255 | // case 'suppress' --private log -- aaron (sign your messages so we know who to blame in a few years :-D) |
245 | 256 | // default: |
246 | 257 | } |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -4742,6 +4742,8 @@ |
4743 | 4743 | 'newuserlog-autocreate-entry' => 'Account created automatically', |
4744 | 4744 | 'suppressedarticle' => 'suppressed "[[$1]]"', |
4745 | 4745 | 'deletedarticle' => 'deleted "[[$1]]"', |
| 4746 | +'uploadedimage' => 'uploaded "[[$1]]"', |
| 4747 | +'overwroteimage' => 'uploaded a new version of "[[$1]]"', |
4746 | 4748 | |
4747 | 4749 | # Feedback |
4748 | 4750 | 'feedback-bugornote' => 'If you are ready to describe a technical problem in detail please [$1 report a bug]. |
— | — | @@ -4796,5 +4798,4 @@ |
4797 | 4799 | 'api-error-unknownerror' => 'Unknown error: "$1".', |
4798 | 4800 | 'api-error-uploaddisabled' => 'Uploading is disabled on this wiki.', |
4799 | 4801 | 'api-error-verification-error' => 'This file might be corrupt, or have the wrong extension.', |
4800 | | - |
4801 | 4802 | ); |