MediaWiki API yardımı
Bu otomatik olarak oluşturulan bir MediaWiki API belgelenme sayfasıdır.
Belgeler ve örnekler: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
submodule=addarticle
(main | collection | addarticle)
- Bu modül okuma hakları gerektirir.
- Kaynak: Collection
- Lisans: GPL-2.0-or-later
API module for adding a page to the collection
Parametre:
Other general parameters are available.
- namespace
Namespace of page to add
- Bu parametre gerekli.
- Tür: tamsayı
- title
Title of page to add
- Bu parametre gerekli.
- oldid
Oldid of page to add
- Tür: tamsayı
- Varsayılan: 0
Örnek:
- Koleksiyona bir sayfa ekle.
- api.php?action=collection&submodule=addarticle&namespace=0&title=Main_Page&oldid=0 [sandbox'ta açın]