Даведка MediaWiki API
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=visualeditoredit
- This module is internal or unstable. Its operation may change without notice.
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: VisualEditor
- License: MIT
Save an HTML5 page to MediaWiki (converted to wikitext via the Parsoid service).
- paction
Action to perform.
- 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
The wikitext to act with.
- section
The section on which to act.
- sectiontitle
Title for new section.
- basetimestamp
Пры захаваньні ўсталёўвае тут час вэрсіі, якая рэдагавалася. Выкарыстоўваецца дзеля выяўленьня канфліктаў рэдагаваньня.
- Type: timestamp (allowed formats)
- starttimestamp
Пры захаваньні ўсталёўвае тут час вэрсіі, калі старонка была загружаная. Выкарыстоўваецца дзеля выяўленьня канфліктаў рэдагаваньня.
- Type: timestamp (allowed formats)
- oldid
Нумар вэрсіі для выкарыстаньня. Дапомна — апошняя вэрсія. 0 — новая старонка.
- 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 дзеля адпраўкі ў Parsoid у абмен на вікітэкст.
- etag
ETag на адсыланьне.
- summary
Апісаньне зьменаў.
- captchaid
ID капчы (пры захаваньні з запытам капчы).
- captchaword
Адказ на капчу (пры захаваньні з запытам капчы).
- cachekey
Use the result of a previous serializeforcache request with this key. Overrides html.
- 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, monobook, timeless, vector, vector-2022
- tags
Change tags to apply to the edit.
- 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.