Pomoć oko Medijavikijevog API-ja
Ovo je automatski generisana dokumentacija za Medijaviki API
Dokumentacija i primeri: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=visualeditoredit
- This module is internal or unstable, and you should not use it. Its operation may change without notice.
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Izvor: VisualEditor
- Licenca: MIT
Čuvanje stranice koja je u HTML5 formatu na Medijaviki (konvertovane u vikitekst pomoću usluge Parsoid).
- paction
Radnja za izvršavanje.
- This parameter is required.
- One of the following values: diff, save, serialize, serializeforcache
- page
Stranica na koju treba izvršiti radnje.
- This parameter is required.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
- wikitext
Vikitekst sa kojim treba delovati.
- section
Odeljak na kome treba delovati.
- sectiontitle
Naslov za novi odeljak.
- basetimestamp
Kada čuvate, postavite ovo na vremensku oznaku izmene koja je bila uređena. Koristi se za otkrivanje sukoba izmena.
- Type: timestamp (allowed formats)
- starttimestamp
Kada čuvate, postavite ovo na vremensku oznaku trenutka kada je izmena učitana. Koristi se za otkrivanje sukoba izmena.
- Type: timestamp (allowed formats)
- oldid
Broj izmene koju treba koristiti. Podrazumevana je poslednja izmena.
- Type: integer
- minor
Oznaka za manju izmenu.
- watchlist
Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.
- html
HTML za slanje Parsoidu u zamenu za vikitekst.
- etag
ETag za slanje.
- summary
Opis izmene.
- captchaid
ID CAPTCHA slike (kada čuvate sa odgovorom).
- captchaword
Odgovor na CAPTCHA sliku (kada čuvate sa odgovorom).
- cachekey
Koristite rezultat prethodnog zahteva za serializeforcache sa ovim ključem. Zamenjuje html.
- nocontent
Omit the HTML content of the new revision in the response.
- Type: boolean (details)
- returnto
Page title. If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to the given page, instead of the page that was edited.
- Tip: naslov stranice
- Prihvata nepostojeće stranice.
- returntoquery
URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.
- Podrazumevano: (nema)
- returntoanchor
URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.
- Podrazumevano: (nema)
- useskin
Apply the selected skin to the parser output. May affect the following properties: text, langlinks, headitems, modules, jsconfigvars, indicators.
- One of the following values: apioutput, authentication-popup, contenttranslation, fallback, json, minerva, monobook, timeless, vector, vector-2022
Oznake promena koje bi se primenjivale na izmenu.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- plugins
Plugins associated with the API request.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- data-{plugin}
Arbitrary data sent by a plugin with the API request.
- This is a templated parameter. When making the request, {plugin} in the parameter's name should be replaced with values of plugins.
- mobileformat
Return parse output in a format suitable for mobile devices.
- Type: boolean (details)