رہنمائے میڈیاویکی اےپی‌آئی

ذیل میں میڈیاویکی اےپی‌آئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔

دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=cirrus-check-sanity

(main | cirrus-check-sanity)
  • یہ ماڈیول اندرونی یا غیر مستحکم ہے۔ چنانچہ بغیر کسی اطلاع کے اس کا طریقۂ کار تبدیل ہو سکتا ہے۔
  • اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
  • ماخذ: CirrusSearch
  • اجازت نامہ: GPL-2.0-or-later

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

مخصوص پیرامیٹر:
دیگر عمومی پیرامیٹر دستیاب ہیں۔
cluster

The search cluster to check indices in

ذیل کی قدروں میں سے کوئی ایک: cloudelastic، codfw، eqiad
طے شدہ: eqiad
from

Page id to start checking at

یہ پیرامیٹر لازمی ہے۔
Type: integer
The value must be no less than 0.
limit

The number of page ids to check

طرز: عدد صحیح یا max
The value must be between 1 and 500.
طے شدہ: 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.
طے شدہ: 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 [تختۂ مشق میں کھولیں]