Bantuan API MediaWiki

Ini merupakan laman dokumentasi MediaWiki API yang dihasilkan secara automatik.

Dokumentasi dan contoh-contoh: https://www.mediawiki.org/wiki/API

action=cirrus-check-sanity

(main | cirrus-check-sanity)
  • Modul ini dalaman atau tidak stabil. Operasinya boleh berubah tanpa amaran.
  • Modul ini memerlukan hak membaca.
  • Source: CirrusSearch
  • License: GPL-2.0-or-later

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

Parameter:
Other general parameters are available.
cluster

The search cluster to check indices in

One of the following values: default
Default: default
from

Page id to start checking at

This parameter is required.
Type: integer
The value must be no less than 0.
limit

The number of page ids to check

Type: integer or max
The value must be between 1 and 500.
Default: 100
sequenceid

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

Type: integer
rerenderfrequency

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

Type: integer
The value must be no less than 2.
Default: 16
Contoh:
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 [open in sandbox]