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=discussiontoolspageinfo
(main | discussiontoolspageinfo)
- Ten moduł jest wewnętrzny lub niestabilny i nie powinno się z niego korzystać. Jego działanie może się zmienić bez uprzedzenia.
- Ten moduł wymaga praw odczytu.
- Źródło: Narzędzia dyskusji
- Licencja: MIT
Zwraca metadane niezbędne do zainicjowania narzędzi dyskusji.
Parametry:
Other general parameters are available.
- page
Strona, na której wykonuje się działania.
- oldid
Numer wersji do użycia (domyślnie ostatnia wersja).
- Typ: liczba całkowita
- prop
Które właściwości uzyskać:
- transcludedfrom
- Skąd zostały transkludowane komentarze
- threaditemshtml
- Dane o wątkach dyskusji odnalezionych na stronie
- Wartości (oddziel za pomocą | lub alternatywy): threaditemshtml, transcludedfrom
- Domyślnie: transcludedfrom
- threaditemsflags
Flags to alter the output when using prop=threaditemshtml.
- noreplies
- Don't include the full reply tree, just provide the top-level headings (when using prop=threaditemshtml).
- activity
- Include extra activity data about the oldest and latest replies (when using prop=threaditemshtml).
- excludesignatures
- Exclude user signatures from the comments (when using prop=threaditemshtml).
- Wartości (oddziel za pomocą | lub alternatywy): activity, excludesignatures, noreplies
- excludesignatures
- Przestarzałe.
Exclude user signatures from the comments (when using prop=threaditemshtml).