راهنمای واسط برنامه‌نویسی کاربردی مدیاویکی

این یک صفحهٔ مستندات برای واسط برنامه‌نویسی کاربردی مدیاویکی است که به‌طور خودکار ایجاد شده است.

مستندات و نمونه‌ها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=cirrus-check-sanity

(main | cirrus-check-sanity)
  • This module is internal or unstable, and you should not use it. Its operation may change without notice.
  • این پودمان نیازمند اختیارات خواندن است.
  • منبع: CirrusSearch
  • مجوز: GPL-2.0-or-later

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

پارامترها:
Other general parameters are available.
cluster

The search cluster to check indices in

یکی از مقدارهای زیر: cloudelastic، codfw، eqiad
پیش‌فرض: eqiad
from

Page id to start checking at

این پارامتر الزامی است.
نوع: عدد صحیح
The value must be no less than ۰.
limit

The number of page ids to check

نوع: عدد صحیح یا max
The value must be between ۱ and ۵۰۰.
پیش‌فرض: 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.

نوع: عدد صحیح
The value must be no less than ۲.
پیش‌فرض: 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 [باز کردن در صفحهٔ تمرین]