User:Ola Efimova/Sandbox/API:Filetransform
Appearance
From mediawiki.org
This page is part of the MediaWiki Action API documentation.
| MediaWiki Action API |
|---|
| Basics |
| Authentication |
| Accounts and Users |
| Page Operations |
|
| Search |
| Developer Utilities |
| Tutorials |
| v · d · e |
MediaWiki version:
≥ 1.26
API documentation
[edit ]Queues a server-side transform and internal re-upload of a media file.
The following documentation is the output of Special: ApiHelp/ imagerotate, automatically generated by the pre-release version of MediaWiki that is running on this site (MediaWiki.org).
action=imagerotate
(main | imagerotate)
- Source: MediaWiki
- License: GPL-2.0-or-later
This module has been disabled.
Example
[edit ]GET request
[edit ]Description of script
Response
[edit ]{ "batchcomplete":"" }
Sample code
[edit ]Create a sub page of this page to host the Python, PHP and JavaScript sample code, then transclude that page into this page. Name the page Sample code n, where n=1,2,3...n depending on the number of examples you have. Look at API:Tags and API:Tags/Sample_code_1 for reference.User:Ola Efimova/Sandbox/API:Filetransform/Sample code 1
Demo app(s)
[edit ]- Add a link to the demo app. Embed an image of the demo if applicable
Possible errors
[edit ]| Code | Info |
|---|---|
Parameter history
[edit ]- v1.x: Introduced
parameter_1,parameter_2 - v0.x: Deprecated
parameter_3
Additional notes
[edit ]- This module cannot be used as a Generator.
See also
[edit ]- Under development; replaces 'imagerotate' API action that was never enabled on Wikimedia sites for performance reasons.