MediaWiki API súgó
Ez egy automatikusan generált MediaWiki-API-dokumentációs lap.
Dokumentáció és példák: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=cirrus-check-sanity
(main | cirrus-check-sanity)
- Ez a modul belső használatú vagy nem stabil. A működése értesítés nélkül változhat.
- Ez a modul olvasási jogot igényel.
- Forrás: CirrusSearch
- Licenc: GPL-2.0-or-later
Reports on the correctness of a range of page ids in the search index
Jellemző paraméterek:
Other general parameters are available.
- cluster
The search cluster to check indices in
- A következő értékek egyike: cloudelastic, codfw, eqiad
- Alapértelmezett: eqiad
- from
Page id to start checking at
- Ez a paraméter kötelező.
- Típus: egész szám
- Az érték nem lehet kisebb mint 0.
- limit
The number of page ids to check
- Típus: egész vagy max
- Az értéknek 1 és 500 között kell lennie.
- Alapértelmezett: 100
- sequenceid
The number of times this set of page ids has been checked
- Típus: egész szám
- rerenderfrequency
Number of checks after which a page should be rerendered. Based off the provided sequenceid.
- Típus: egész szám
- Az érték nem lehet kisebb mint 2.
- Alapértelmezett: 16
Példa:
- 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 [megnyitás a homokozóban]