dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c328cf6
)
(bug 46547) use content language for rotation comment
author
Jan Gerber
<jgerber@wikimedia.org>
Tue, 26 Mar 2013 07:57:25 +0000
(07:57 +0000)
committer
Jan Gerber
<jgerber@wikimedia.org>
Tue, 26 Mar 2013 19:05:06 +0000
(19:05 +0000)
Bug: 46547
Change-Id: I93519557e15857176f50ea34cb59832c9575f20e
includes/api/ApiImageRotate.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiImageRotate.php
b/includes/api/ApiImageRotate.php
index
e261f38
..
ebdbedd
100644
(file)
--- a/
includes/api/ApiImageRotate.php
+++ b/
includes/api/ApiImageRotate.php
@@
-119,7
+119,9
@@
class ApiImageRotate extends ApiBase {
"rotation" => $rotation
) );
if ( !$err ) {
- $comment = wfMessage( 'rotate-comment' )->numParams( $rotation )->text();
+ $comment = wfMessage(
+ 'rotate-comment'
+ )->numParams( $rotation )->inContentLanguage()->text();
$status = $file->upload( $dstPath,
$comment, $comment, 0, false, false, $this->getUser() );
if ( $status->isGood() ) {