Справка MediaWiki API
Это автоматически сгенерированная страница документации MediaWiki API.
Документация и примеры: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
submodule=removearticle
(main | collection | removearticle)
- Этот модуль требует прав на чтение.
- Источник: Collection
- Лицензия: GPL-2.0-or-later
API module for removing a page from the collection
Параметры:
- namespace
- ⧼apihelp-collection+removearticle-param-namespace⧽
- Это обязательный параметр.
- Type: integer
- title
- ⧼apihelp-collection+removearticle-param-title⧽
- Это обязательный параметр.
- oldid
- ⧼apihelp-collection+removearticle-param-oldid⧽
- Type: integer
- По умолчанию: 0
Пример:
- Remove a page from the collection.
- api.php?action=collection&submodule=removearticle&namespace=0&title=Main_Page&oldid=0 [открыть в песочнице]