Nápověda k MediaWiki API
Toto je automaticky generovaná dokumentaÄnà stránka k MediaWiki API.
Dokumentace a pÅÃklady: https://www.mediawiki.org/wiki/API
action=imagerotate
- Tento modul vyžaduje oprávnÄnà ke ÄtenÃ.
- Tento modul vyžaduje oprávnÄnà k zápisu.
- Tento modul pÅijÃmá pouze požadavky POST.
- Zdroj: MediaWiki
- Licence: GPL-2.0+
OtoÄit jeden nebo vÃce obrázků.
- rotation
Degrees to rotate image clockwise.
- Tento parametr je povinný.
- Jedna z následujÃcÃch hodnot: 90, 180, 270
- continue
When more results are available, use this to continue.
- tags
Tags to apply to the entry in the upload log.
- Hodnoty (oddÄlené | nebo alternativou.):
- titles
A list of titles to work on.
- Hodnoty oddÄlujte pomocà | nebo alternativou. Maximálnà poÄet hodnot je 50 (pro boty 500).
- pageids
A list of page IDs to work on.
- Typ: seznam celých ÄÃsel
- Hodnoty oddÄlujte pomocà | nebo alternativou. Maximálnà poÄet hodnot je 50 (pro boty 500).
- revids
A list of revision IDs to work on.
- Typ: seznam celých ÄÃsel
- Hodnoty oddÄlujte pomocà | nebo alternativou. Maximálnà poÄet hodnot je 50 (pro boty 500).
- generator
Get the list of pages to work on by executing the specified query module.
Note: Generator parameter names must be prefixed with a "g", see examples.
- Jedna z následujÃcÃch hodnot: allcategories, alldeletedrevisions, allfileusages, allimages, alllinks, allpages, allredirects, allrevisions, alltransclusions, backlinks, categories, categorymembers, deletedrevisions, duplicatefiles, embeddedin, exturlusage, fileusage, images, imageusage, iwbacklinks, langbacklinks, links, linkshere, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, redirects, revisions, search, templates, transcludedin, watchlist, watchlistraw
- redirects
Automatically resolve redirects in titles, pageids, and revids, and in pages returned by generator.
- Typ: boolean (podrobnosti)
- converttitles
Convert titles to other variants if necessary. Only works if the wiki's content language supports variant conversion. Languages that support variant conversion include gan, iu, kk, ku, shi, sr, tg, uz a zh.
- Typ: boolean (podrobnosti)
- token
Token typu âcsrfâ zÃskaný pomocà action=query&meta=tokens.
- Tento parametr je povinný.
- Rotate File:Example.png by 90 degrees.
- api.php?action=imagerotate&titles=File:Example.jpg&rotation=90&token=123ABC [otevÅÃt v pÃskoviÅ¡ti]
- OtoÄit vÅ¡echny obrázky v Category:Flip o 180 stupÅů.
- api.php?action=imagerotate&generator=categorymembers&gcmtitle=Category:Flip&gcmtype=file&rotation=180&token=123ABC [otevÅÃt v pÃskoviÅ¡ti]