Odpověď z MediaWiki API
Toto je HTML reprezentace formátu JSON. HTML se hodí pro ladění, ale pro aplikační použití je nevhodné.
Pro změnu výstupního formátu uveďte parametr format. Abyste viděli ne-HTML reprezentaci formátu JSON, nastavte format=json.
Více informací najdete v úplné dokumentaci nebo v nápovědě k API.
{ "connectionAttempts": 1, "shardCount": { "content": 4, "general": 4, "titlesuggest": 4 }, "replicas": "0-2", "slowSearch": 10, "namespaceMappings": [], "extraIndexes": [], "updateShardTimeout": "1ms", "clientSideUpdateTimeout": 120, "searchShardTimeout": { "default": "20s", "regex": "120s" }, "maintenanceTimeout": 3600, "phraseSlop": { "precise": 0, "default": 0, "boost": 1 }, "phraseRescoreBoost": 10, "phraseRescoreWindowSize": 512, "functionRescoreWindowSize": 8192, "moreAccurateScoringMode": "", "indexedRedirects": 1024, "linkedArticlesToUpdate": 25, "weights": { "title": 20, "redirect": 15, "category": 8, "heading": 5, "opening_text": 3, "text": 1, "auxiliary_text": 0.5, "file_text": 0.5 }, "allFields": { "build": "", "use": "" }, "boostOpening": "first_heading", "nearMatchWeight": 2, "stemmedWeight": 0.5, "namespaceWeights": { "2": 0.05, "4": 0.1, "8": 0.05, "10": 0.005, "12": 0.1 }, "defaultNamespaceWeight": 0.2, "talkNamespaceWeight": 0.25, "languageWeight": { "user": 0, "wiki": 0 }, "preferRecentDefaultDecayPortion": 0, "preferRecentUnspecifiedDecayPortion": 0.6, "preferRecentDefaultHalfLife": 160, "moreLikeThisConfig": { "min_doc_freq": 2, "max_doc_freq": null, "max_query_terms": 25, "min_term_freq": 2, "min_word_length": 0, "max_word_length": 0, "minimum_should_match": "30%" }, "interwikiSources": [], "interwikiCacheTime": 7200, "refreshInterval": 1, "bannedPlugins": [], "updateConflictRetryCount": 5, "fragmentSize": 150, "boostLinks": "", "indexAllocation": { "include": [], "exclude": [], "require": [] }, "phraseSuggestMaxErrors": null, "phraseSuggestConfidence": null }