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=removearticle
(main | collection | removearticle)
- This module requires read rights.
- Source: Collection
- License: GPL-2.0-or-later
API module for removing a page from the collection
Parameters:
- namespace
- ⧼apihelp-collection+removearticle-param-namespace⧽
- This parameter is required.
- Type: integer
- title
- ⧼apihelp-collection+removearticle-param-title⧽
- This parameter is required.
- oldid
- ⧼apihelp-collection+removearticle-param-oldid⧽
- Type: integer
- Default: 0
Example:
- Remove a page from the collection.
- api.php?action=collection&submodule=removearticle&namespace=0&title=Main_Page&oldid=0 [open in sandbox]