미디어위키 API 도움말

이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.

설명 문서 및 예시: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=visualeditoredit

(main | visualeditoredit)
  • 이 모듈은 내부용이거나 불안정합니다. 동작은 예고 없이 변경될 수 있습니다.
  • 이 모듈은 read 권한을 요구합니다.
  • 이 모듈은 write 권한을 요구합니다.
  • 이 모듈은 POST 요청만을 허용합니다.
  • 출처: VisualEditor
  • 라이선스: MIT

HTML5 페이지를 미디어위키로 저장합니다. (Parsoid 서비스를 통해 위키텍스트로 변환)

특정 변수:
Other general parameters are available.
paction

수행할 동작입니다.

이 변수는 필수입니다.
다음 값 중 하나: diff, save, serialize, serializeforcache 또는 다른 문자열: diff, save, serialize, serializeforcache
page

동작을 수행할 문서입니다.

이 변수는 필수입니다.
token

"csrf" 토큰은 action=query&meta=tokens에서 가져옵니다

이 변수는 필수입니다.
wikitext

동작을 적용할 위키텍스트입니다.

section

동작을 적용할 문단입니다.

sectiontitle

새 문단을 위한 제목입니다.

basetimestamp

저장할 때, 편집한 판의 시간스탬프로 설정합니다. 편집 충돌을 감지하는 데 사용합니다.

유형: 타임스탬프 (허용되는 포맷)
starttimestamp

저장할 때, 문서를 불러왔을 때의 타임스탬프로 설정합니다. 편집 충돌을 감지하는 데 사용됩니다.

유형: 타임스탬프 (허용되는 포맷)
oldid

사용할 판 번호. 기본값은 최신 판입니다. 새 문서의 경우 0을 사용하십시오.

유형: 정수
minor

사소한 편집의 표시입니다.

watchlist

현재 사용자의 주시목록에서 문서를 무조건적으로 추가하거나 제거하거나, 환경 설정을 사용하거나 (봇 사용자는 무시됨) 주시를 변경하지 않습니다.

html

위키텍스트 대신 Parsoid로 보낼 HTML입니다.

etag

보낼 ETag.

summary

편집 요약입니다.

captchaid

캡차 ID입니다. (캡차 응답으로 저장할 때)

captchaword

캡차의 응답입니다. (캡차 응답으로 저장할 때)

cachekey

이 키로 이전의 serializeforcache 요청 결과를 사용합니다. html을 덮어씁니다.

nocontent

Omit the HTML content of the new revision in the response.

유형: 불리언 (자세한 정보)
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

선택한 스킨을 파서 출력에 적용합니다. 다음의 속성에 영향을 줄 수 있습니다: text, langlinks, headitems, modules, jsconfigvars, indicators.

다음 값 중 하나: apioutput, cologneblue, fallback, femiwiki, modern, monobook, timeless, tweeki, vector, vector-2022 또는 다른 문자열: apioutput, cologneblue, fallback, femiwiki, modern, monobook, timeless, tweeki, vector, vector-2022
tags

Change tags to apply to the edit.

| 또는 대안으로 값을 구분합니다.
값의 최대 수는 50(더 높은 제한이 허용된 클라이언트의 경우 500)입니다.
plugins

API 요청과 관련된 플러그인입니다.

| 또는 대안으로 값을 구분합니다.
값의 최대 수는 50(더 높은 제한이 허용된 클라이언트의 경우 500)입니다.
data-{plugin}

Arbitrary data sent by a plugin with the API request.

이것은 틀 변수입니다. 요청하실 때 {plugin} in the parameter's name should be replaced with values of plugins.