MediaWiki API 帮助

这是自动生成的MediaWiki API文档页面。

文档和例子:https://www.mediawiki.org/wiki/API:Main_page/zh

meta=notifications (not)

main | query | notifications
  • 此模块需要读取权限。
  • 来源:Echo
  • 许可协议:MIT

获取当前用户等待的通知。

参数:
notfilter

过滤返回的通知。

值(以|替代物分隔):!read、read
Default: read|!read
notprop

请求的细节。

值(以|替代物分隔):count、list、seenTime
Default: list
notsections

要查询的通知部分(也就是说“alert”和“message”的一些结合)。

值(以|替代物分隔):alert、message
Default: alert|message
notgroupbysection

是否按章节分组结果。如果设置,将分别获取每个章节。

Type: boolean (details)
notformat

如果指定,通知将以此格式返回。

model
原始通知数据
special
格式化用于Special:Notifications页面(并仅限于此!)不要依赖HTML,这可能在任何指定的时间更改。
flyout
已弃用。使用notformat=model用于原始数据
html
已弃用。使用notformat=model用于原始数据
以下值中的一个:flyout、html、model、special
notlimit

返回通知的最大数量。

类型:整数或max
The value must be between 1 and 50.
Default: 20
notcontinue

当更多结果可用时,使用这个继续。

notunreadfirst

是否首先显示未读通知(只当groupbysection未设置时使用)。

Type: boolean (details)
nottitles

只返回这些页面的通知。要获取未分配给任何页面的通知,使用[]作为标题。

通过|替代物隔开各值。
Maximum number of values is 50 (500 for clients allowed higher limits).
notbundle

是否根据通知类型捆绑规则,显示兼容捆绑的未读通知。

Type: boolean (details)
notalertcontinue

当更多提醒结果可用时,使用这个继续。

notalertunreadfirst

是否首先显示未读的消息通知(只当groupbysection已设置时使用)。

Type: boolean (details)
notmessagecontinue

当更多消息结果可用时,使用这个继续。

notmessageunreadfirst

是否首先显示未读的提醒通知(只当groupbysection已设置时使用)。

Type: boolean (details)