MediaWiki API yardımı
Bu otomatik olarak oluşturulan bir MediaWiki API belgelenme sayfasıdır.
Belgeler ve örnekler: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=cirrus-check-sanity
(main | cirrus-check-sanity)
- Bu modül dahili veya kararsız. Çalışması önceden bildirilmeksizin değiştirilebilir.
- Bu modül okuma hakları gerektirir.
- Kaynak: CirrusSearch
- Lisans: GPL-2.0-or-later
Reports on the correctness of a range of page ids in the search index
Parametre:
Other general parameters are available.
- cluster
The search cluster to check indices in
- Aşağıdaki değerlerden biri: cloudelastic, codfw, eqiad
- Varsayılan: eqiad
- from
Page id to start checking at
- Bu parametre gerekli.
- Tür: tamsayı
- Değer, 0 daha az olmamalıdır.
- limit
The number of page ids to check
- Tür: tamsayı veya max
- Değer, 1 ile 500 arasında olmalıdır.
- Varsayılan: 100
- sequenceid
The number of times this set of page ids has been checked
- Tür: tamsayı
- rerenderfrequency
Number of checks after which a page should be rerendered. Based off the provided sequenceid.
- Tür: tamsayı
- Değer, 2 daha az olmamalıdır.
- Varsayılan: 16
Örnek:
- 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 [sandbox'ta açın]