MediaWiki API help
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)
- This module requires read rights.
- Font : Collection
- Licéncia : GPL-2.0-or-later
API module for adding a page to the collection
Paramètres :
Other general parameters are available.
- namespace
Namespace of page to add
- Cal aquest paràmetre.
- Tipus: enter
- title
Title of page to add
- Cal aquest paràmetre.
- oldid
Oldid of page to add
- Tipus: enter
- Per defecte: 0
Example:
- Add a page to the collection.
- api.php?action=collection&submodule=addarticle&namespace=0&title=Main_Page&oldid=0 [open in sandbox]