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
list=watchlist (wl)
- Ten moduł wymaga praw odczytu.
 - Ten moduł może być użyty jako generator.
 - Źródło: MediaWiki
 - Licencja: GPL-2.0-or-later
 
Pozyskaj ostatnie zmiany w stronach znajdujacych się na liście obserwowanych obecnego użytkownika.
- wlallrev
 Include multiple revisions of the same page within given timeframe.
- Typ: wartość boolowska (szczegóły)
 - wlstart
 The timestamp to start enumerating from.
- Typ: znacznik czasu (dozwolone formaty)
 - wlend
 The timestamp to end enumerating.
- Typ: znacznik czasu (dozwolone formaty)
 - wlnamespace
 Filter changes to only the given namespaces.
- Wartości (oddziel za pomocą | lub alternatywy): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 460, 461
 - Aby wskazać wszystkie wartości, użyj *.
 - wluser
 Only list changes by this user.
- Typ: użytkownik, podany jako: nazwa użytkownika, IP, Tymczasowy użytkownik, nazwa interwiki (np. „prefiks>PrzykładowaNazwa”) oraz ID użytkownika (np. „#12345”)
 - wlexcludeuser
 Nie wyświetlaj zmian wykonanych przez tego użytkownika.
- Typ: użytkownik, podany jako: nazwa użytkownika, IP, Tymczasowy użytkownik, nazwa interwiki (np. „prefiks>PrzykładowaNazwa”) oraz ID użytkownika (np. „#12345”)
 - wldir
 Kolejność wyliczania:
- newer
 - Wymieniaj najpierw starsze wpisy. Uwaga: wlstart musi być przed wlend.
 - older
 - Wymieniaj najpierw nowsze wpisy (domyślnie). Uwaga: wlstart musi być po wlend.
 - newer
 - List oldest first. Note: wlstart has to be before wlend.
 - older
 - List newest first (default). Note: wlstart has to be later than wlend.
 
- Jedna z następujących wartości: newer, older
 - Domyślnie: older
 - wllimit
 How many total results to return per request.
- Type: integer or max
 - Wartość musi znajdować się pomiędzy 1 a 500.
 - Domyślnie: 10
 - wlprop
 Which additional properties to get:
- ids
 - Adds revision IDs and page IDs.
 - title
 - Dodaje tytuł strony.
 - flags
 - Adds flags for the edit.
 - user
 - Dodaje użytkownika, który wykonał edycję. Jeśli użytkownik został trwale usunięty (revision delete), zwrócona zostanie właściwość userhidden.
 - userid
 - Adds user ID of whoever made the edit. If the user has been revision deleted, a userhidden property will be returned.
 - comment
 - Dodaje komentarz do edycji. Jeśli komentarz został trwale usunięty (revision delete), zwrócona zostanie właściwość commenthidden.
 - parsedcomment
 - Adds parsed comment of the edit. If the comment has been revision deleted, a commenthidden property will be returned.
 - timestamp
 - Dodaje znacznik czasu edycji.
 - patrol
 - Tags edits that are patrolled.
 - sizes
 - Dodaje starą i nową długość strony.
 - notificationtimestamp
 - Adds timestamp of when the user was last notified about the edit.
 - loginfo
 - Adds log information where appropriate.
 - tags
 - Lists tags for the entry.
 - expiry
 - Adds the expiry time.
 
- Wartości (oddziel za pomocą | lub alternatywy): comment, expiry, flags, ids, loginfo, notificationtimestamp, parsedcomment, patrol, sizes, tags, timestamp, title, user, userid
 - Domyślnie: ids|title|flags
 - wlshow
 Show only items that meet these criteria. For example, to see only minor edits done by logged-in users, set wlshow=minor|!anon.
- Wartości (oddziel za pomocą | lub alternatywy): !anon, !autopatrolled, !bot, !minor, !patrolled, !unread, anon, autopatrolled, bot, minor, patrolled, unread
 - wltype
 Which types of changes to show:
- edit
 - Regular page edits.
 - new
 - Page creations.
 - log
 - Log entries.
 - external
 - Zmiany zewnętrzne.
 - categorize
 - Category membership changes.
 
- Wartości (oddziel za pomocą | lub alternatywy): categorize, edit, external, log, new
 - Domyślnie: edit|new|log|categorize
 - wlowner
 Used along with wltoken to access a different user's watchlist.
- Typ: użytkownik, podany jako: nazwa użytkownika
 - wltoken
 A security token (available in the user's preferences) to allow access to another user's watchlist.
- wlcontinue
 Gdy będzie dostępnych więcej wyników, użyj tego do kontynuowania.
- List the top revision for recently changed pages on the current user's watchlist.
 - api.php?action=query&list=watchlist [otwórz w brudnopisie]
 - Fetch additional information about the top revision for recently changed pages on the current user's watchlist.
 - api.php?action=query&list=watchlist&wlprop=ids|title|timestamp|user|comment [otwórz w brudnopisie]
 - Fetch additional information about the top revision for recently changed pages on the current user's watchlist, including when temporarily watched items will expire.
 - api.php?action=query&list=watchlist&wlprop=ids|title|timestamp|user|comment|expiry [otwórz w brudnopisie]
 - Fetch information about all recent changes to pages on the current user's watchlist.
 - api.php?action=query&list=watchlist&wlallrev=&wlprop=ids|title|timestamp|user|comment [otwórz w brudnopisie]
 - Fetch page info for recently changed pages on the current user's watchlist.
 - api.php?action=query&generator=watchlist&prop=info [otwórz w brudnopisie]
 - Fetch revision info for recent changes to pages on the current user's watchlist.
 - api.php?action=query&generator=watchlist&gwlallrev=&prop=revisions&rvprop=timestamp|user [otwórz w brudnopisie]
 - List the top revision for recently changed pages on the watchlist of user Example.
 - api.php?action=query&list=watchlist&wlowner=Example&wltoken=123ABC [otwórz w brudnopisie]