⧼api-help-title⧽
action=import
(main | import)
- ⧼api-help-flag-readrights⧽
- ⧼api-help-flag-writerights⧽
- ⧼api-help-flag-mustbeposted⧽
- ⧼api-help-source⧽
- ⧼api-help-license⧽
- summary
- ⧼apihelp-import-param-summary⧽
- xml
- ⧼apihelp-import-param-xml⧽
- Must be posted as a file upload using multipart/form-data.
- interwikiprefix
- ⧼apihelp-import-param-interwikiprefix⧽
- interwikisource
- ⧼apihelp-import-param-interwikisource⧽
- One of the following values:
- interwikipage
- ⧼apihelp-import-param-interwikipage⧽
- fullhistory
- ⧼apihelp-import-param-fullhistory⧽
- Type: boolean
- templates
- ⧼apihelp-import-param-templates⧽
- Type: boolean
- namespace
- ⧼apihelp-import-param-namespace⧽
- One of the following values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- assignknownusers
- ⧼apihelp-import-param-assignknownusers⧽
- Type: boolean
- rootpage
- ⧼apihelp-import-param-rootpage⧽
- tags
- ⧼apihelp-import-param-tags⧽
- Values (separate with U+007C (pipe), or prefix the list with U+001F and separate with U+001F):
- token
- ⧼api-help-param-token⧽
- This parameter is required.