Справка MediaWiki API
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=import
- ÐÑÐ¾Ñ Ð¼Ð¾Ð´ÑÐ»Ñ ÑÑебÑÐµÑ Ð¿Ñав на ÑÑение.
- ÐÑÐ¾Ñ Ð¼Ð¾Ð´ÑÐ»Ñ ÑÑебÑÐµÑ Ð¿Ñава на запиÑÑ.
- ÐÑÐ¾Ñ Ð¼Ð¾Ð´ÑÐ»Ñ Ð¿ÑÐ¸Ð½Ð¸Ð¼Ð°ÐµÑ ÑолÑко 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
ÐмпоÑÑ Ð¸Ñога
- xml
ÐагÑÑженнÑй XML-Ñайл.
- Must be posted as a file upload using multipart/form-data.
- interwikisource
For interwiki imports: wiki to import from.
- One value:
- interwikipage
For interwiki imports: page to import.
- fullhistory
For interwiki imports: import the full history, not just the current version.
- Тип: двоиÑнÑй (details)
- templates
For interwiki imports: import all included templates as well.
- Тип: двоиÑнÑй (details)
- namespace
Import to this namespace. Cannot be used together with rootpage.
- One value: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- rootpage
Import as subpage of this page. Cannot be used together with namespace.
- token
A "csrf" token retrieved from action=query&meta=tokens
- ÐÑÐ¾Ñ Ð¿Ð°ÑамеÑÑ ÑвлÑеÑÑÑ Ð¾Ð±ÑзаÑелÑнÑм.
- Import meta:Help:ParserFunctions to namespace 100 with full history.
- api.php?action=import&interwikisource=meta&interwikipage=Help:ParserFunctions&namespace=100&fullhistory=&token=123ABC