راهنمای واسط برنامهنویسی کاربردی مدیاویکی
این یک صفحهٔ مستندات برای واسط برنامهنویسی کاربردی مدیاویکی است که بهطور خودکار ایجاد شده است.
مستندات و نمونهها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=cirrus-schema-dump
(main | cirrus-schema-dump)
- This module is internal or unstable, and you should not use it. Its operation may change without notice.
- این پودمان نیازمند اختیارات خواندن است.
- منبع: CirrusSearch
- مجوز: GPL-2.0-or-later
Dump of CirrusSearch schema (settings and mappings) for this wiki.
پارامترها:
Other general parameters are available.
- build
Whether to build the schema from code (true) or fetch from live cluster (false).
- نوع: بولی (جزئیات)
- plugins
List of OpenSearch/Elasticsearch plugins available on the target cluster. Only used when build=true. If not provided, plugins will be detected from the connected cluster.
- Separate values with | or alternative.
- حداکثر تعداد مقدارها ۵۰ است (۵۰۰ برای متقضایانی که مجوز محدودیتهای بالاتر را دارند).
نمونهها:
- Get a dump of CirrusSearch schema from the live cluster.
- api.php?action=cirrus-schema-dump [باز کردن در صفحهٔ تمرین]
- Generate CirrusSearch schema from code configuration.
- api.php?action=cirrus-schema-dump&build=true [باز کردن در صفحهٔ تمرین]
- Generate CirrusSearch schema with specific plugins enabled.
- api.php?action=cirrus-schema-dump&build=true&plugins=analysis-icu|extra-analysis-textify [باز کردن در صفحهٔ تمرین]