MediaWiki API 帮助

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

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

action=cirrus-check-sanity

main | cirrus-check-sanity
  • 此模块是内部或不稳定的,不应该使用。它的操作可以更改而不另行通知。
  • 此模块需要读取权限。
  • 来源:CirrusSearch
  • 许可协议:GPL-2.0-or-later

Reports on the correctness of a range of page ids in the search index

具体参数:
其他通用参数可用。
cluster

The search cluster to check indices in

以下值中的一个:default
默认:default
from

Page id to start checking at

这个参数是必需的。
类型:整数
值必须不少于0。
limit

The number of page ids to check

类型:整数或max
值必须介于1和500之间。
默认:100
sequenceid

The number of times this set of page ids has been checked

类型:整数
rerenderfrequency

Number of checks after which a page should be rerendered. Based off the provided sequenceid.

类型:整数
值必须不少于2。
默认:16
例子:
Get a report on the correctness of a range of page ids in the search index
api.php?action=cirrus-sanity-check&from=0&limit=100 [在沙盒中打开]