MediaWiki API 說明

此頁為自動產生的 MediaWiki API 說明文件頁面。

說明文件與範例:https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=discussiontoolspageinfo

main | discussiontoolspageinfo
  • 此模組是內部模組或不夠穩定,您不應使用。它的操作可能造成改變且不會另行通知。
  • 此模組需要讀取權限。
  • 來源:討論工具(Discussion tools)
  • 授權條款:MIT

回傳詮釋資料需要初始化討論工具。

具體參數:
其他通用參數可用。
page

要執行動作的頁面。

oldid

要使用的修訂編號(預設為最新版本)。

類型:整數
prop

要取得的屬性:

transcludedfrom
哪些其他頁面留言已被嵌入
threaditemshtml
從頁面解析的討論串表示
多值 (以 |alternative 分隔):threaditemshtml、​transcludedfrom
預設值: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).
多值 (以 |alternative 分隔):activity、​excludesignatures、​noreplies
excludesignatures
已棄用。

從留言裡排除使用者簽名(在使用 prop=threaditemshtml 的情況)。