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
submodule=addarticle
(main | collection | addarticle)
- Mô đun này cần quyền đọc.
- Source: Collection
- License: GPL-2.0-or-later
API module for adding a page to the collection
Các tham số:
Other general parameters are available.
- namespace
Namespace of page to add
- This parameter is required.
- Type: integer
- title
Title of page to add
- This parameter is required.
- oldid
Oldid of page to add
- Type: integer
- Default: 0
Ví dụ:
- Add a page to the collection.
- api.php?action=collection&submodule=addarticle&namespace=0&title=Main_Page&oldid=0 [open in sandbox]