Pomoc API MediaWiki
To jest automatycznie wygenerowana strona dokumentacji API MediaWiki.
Dokumentacja i przykÅady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=delete
- Ten moduÅ wymaga praw odczytu.
- Ten moduÅ wymaga praw zapisu.
- Ten moduÅ akceptuje tylko Å¼Ä dania POST.
- ŹródÅo: MediaWiki
- Licencja: GPL-2.0-or-later
UsuÅ stronÄ.
- title
TytuÅ strony do usuniÄcia. Nie używaÄ wraz z pageid.
- pageid
ID strony do usuniÄcia. Nie może byÄ użyte wraz z title.
- Typ: liczba caÅkowita
- reason
Powód usuwania. JeÅli pozostawisz to pole puste, zostanie użyty powód wygenerowany automatycznie.
- tags
Change tags to apply to the entry in the deletion log.
- WartoÅci (oddziel za pomocÄ | lub alternatywy):
- deletetalk
Delete the talk page, if it exists.
- Type: boolean (details)
- watch
- PrzestarzaÅe.
Dodaj stronÄ do obecnej listy obserwowanych.
- Type: boolean (details)
- watchlist
Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.
- Jedna z nastÄpujÄ cych wartoÅci: nochange, preferences, unwatch, watch
- DomyÅlnie: preferences
- unwatch
- PrzestarzaÅe.
UsuÅ stronÄ z obecnej listy obserwowanych.
- Type: boolean (details)
- oldimage
The name of the old image to delete as provided by action=query&prop=imageinfo&iiprop=archivename.
- token
Token âcsrfâ pobrany z action=query&meta=tokens
- Ten parametr jest wymagany.
- UsuÅ Main Page.
- api.php?action=delete&title=Main%20Page&token=123ABC [otwórz w brudnopisie]
- UsuÅ Main Page z powodem Preparing for move.
- api.php?action=delete&title=Main%20Page&token=123ABC&reason=Preparing%20for%20move [otwórz w brudnopisie]