Nápověda k MediaWiki API
Toto je automaticky generovaná dokumentační stránka k MediaWiki API.
Dokumentace a příklady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=cirrus-check-sanity
(main | cirrus-check-sanity)
- Tento modul je interní nebo nestabilní. Jeho funkčnost se může bez předchozího upozornění změnit.
- Tento modul vyžaduje oprávnění ke čtení.
- Zdroj: CirrusSearch
- Licence: GPL-2.0-or-later
Reports on the correctness of a range of page ids in the search index
Parametry:
Other general parameters are available.
- cluster
The search cluster to check indices in
- Jedna z následujících hodnot: 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
Příklad:
- 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 [otevřít v pískovišti]