미디어위키 API 도움말

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

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

action=import

(main | import)
  • 이 모듈은 read 권한을 요구합니다.
  • 이 모듈은 write 권한을 요구합니다.
  • 이 모듈은 POST 요청만을 허용합니다.
  • 출처: MediaWiki
  • 라이선스: GPL-2.0+

Import a page from another wiki, or from an XML file.

Note that the HTTP POST must be done as a file upload (i.e. using multipart/form-data) when sending a file for the xml parameter.

변수:
summary

Log entry import summary.

xml

업로드한 XML 파일.

Must be posted as a file upload using multipart/form-data.
interwikisource

For interwiki imports: wiki to import from.

다음 값 중 하나:
interwikipage

For interwiki imports: page to import.

fullhistory

For interwiki imports: import the full history, not just the current version.

유형: 부울 (자세한 정보)
templates

For interwiki imports: import all included templates as well.

유형: 부울 (자세한 정보)
namespace

Import to this namespace. Cannot be used together with rootpage.

다음 값 중 하나: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 828, 829, 2300, 2301, 2302, 2303
rootpage

Import as subpage of this page. Cannot be used together with namespace.

token

A "csrf" token retrieved from action=query&meta=tokens

이 변수는 필수 입력 사항입니다.