Trợ giúp về API MediaWiki

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=visualeditoredit

(main | visualeditoredit)
  • This module is internal or unstable. Its operation may change without notice.
  • Mô đun này cần quyền đọc.
  • Mô đun này cần quyền ghi.
  • Mô đun này chỉ có nhận các yêu cầu POST.
  • Source: VisualEditor
  • License: MIT

Save an HTML5 page to MediaWiki (converted to wikitext via the Parsoid service).

Các tham số:
paction

Tác vụ để thực hiện.

This parameter is required.
Một trong các giá trị: diff, save, serialize, serializeforcache
page

Trang để thực hiện các tác vụ.

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

Khi lưu, đặt thành dấu thời gian của phiên bản được sửa đổi. Được sử dụng để phát hiện các sửa đổi mâu thuẫn.

starttimestamp

Khi lưu, đặt thành dấu thời gian lúc trang được tải. Được sử dụng để phát hiện các mâu thuẫn sửa đổi.

oldid

Số phiên bản để sử dụng. Mặc định là phiên bản hiện tại. Sử dụng 0 cho trang mới.

minor

Đánh dấu là sửa đổi nhỏ.

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

Mã HTML để gửi cho Parsoid để nó chuyển đổi thành mã wiki.

etag

ETag để gửi.

summary

Lời tóm lược sửa đổi.

captchaid

ID CAPTCHA (khi lưu với một hồi đáp CAPTCHA).

captchaword

Lời giải CAPTCHA (khi lưu với một lời giải CAPTCHA).

cachekey

Sử dụng kết quả của một yêu cầu serializeforcache (sắp xếp cho vùng nhớ đệm) trước đây với từ khóa này. Ghi đè html.

useskin

Apply the selected skin to the parser output. May affect the following properties: text, langlinks, headitems, modules, jsconfigvars, indicators.

Một trong các giá trị: apioutput, fallback, vector, vector-2022
tags

Change tags to apply to the edit.

Phân tách các giá trị bằng |.
Maximum number of values is 50 (500 for clients allowed higher limits).
plugins

Plugins associated with the API request.

Phân tách các giá trị bằng |.
Maximum number of values is 50 (500 for clients 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.