https://bugzilla.wikimedia.org/show_bug.cgi?id=46547

       Web browser: ---
            Bug ID: 46547
           Summary: when using action: 'imagerotate', upload
                    summary/Comment is in user language
           Product: MediaWiki
           Version: 1.21-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: API
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

I used

$.post(mw.util.wikiScript('api'), {
  action: 'imagerotate',
  rotation: 270,
  titles: 'File:Lead Photo For DonateImage0-8110956577584147.png',
  token: mw.user.tokens.get('editToken')
});

The result can be viewed at
https://commons.wikimedia.org/wiki/File:Lead_Photo_For_DonateImage0-8110956577584147.png?uselang=en#filehistory

and
https://commons.wikimedia.org/w/index.php?page=File%3ALead+Photo+For+DonateImage0-8110956577584147.png&title=Special%3ALog

(The auto-generated comment is in my user language)

Expected result: Comment/Log description either autotranslated or in site
language.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to