Помоћ око Медијавикијевог API-ја
Ово је аутоматски генерисана документација за Медијавики API
Документација и примери: -{R|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.
- Извор: VisualEditor
- Лиценца: MIT
Чување странице која је у HTML5 формату на Медијавики (конвертоване у викитекст помоћу услуге Parsoid).
- paction
Радња за извршавање.
- This parameter is required.
- One of the following values: diff, save, serialize, serializeforcache
- page
Страница на коју треба извршити радње.
- This parameter is required.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
- wikitext
Викитекст са којим треба деловати.
- section
Одељак на коме треба деловати.
- sectiontitle
Наслов за нови одељак.
- basetimestamp
Када чувате, поставите ово на временску ознаку измене која је била уређена. Користи се за откривање сукоба измена.
- Type: timestamp (allowed formats)
- starttimestamp
Када чувате, поставите ово на временску ознаку тренутка када је измена учитана. Користи се за откривање сукоба измена.
- Type: timestamp (allowed formats)
- oldid
Број измене коју треба користити. Подразумевана је последња измена.
- Type: integer
- minor
Ознака за мању измену.
- 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 за слање Парсоиду у замену за викитекст.
- etag
ETag за слање.
- summary
Опис измене.
- captchaid
ID CAPTCHA слике (када чувате са одговором).
- captchaword
Одговор на CAPTCHA слику (када чувате са одговором).
- cachekey
Користите резултат претходног захтева за serializeforcache са овим кључем. Замењује 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.
- Тип: наслов странице
- Прихвата непостојеће странице.
- 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.
- Подразумевано: (нема)
- 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.
- Подразумевано: (нема)
- 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, fallback, minerva, vector, vector-2022
Ознаке промена које би се примењивале на измену.
- 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)