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.

{
    "servers": [
        "water.infra.opensuse.org"
    ],
    "namespaceWeights": {
        "0": 1,
        "2": 0.05,
        "4": 0.6,
        "8": 0.05,
        "6": 0.02,
        "10": 0.005,
        "12": 0.1,
        "14": 0.02,
        "100": 0.6,
        "102": 1,
        "104": 0.2,
        "106": 0.2
    },
    "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,
    "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_len": 0,
        "max_word_len": 0,
        "percent_terms_to_match": 0.3
    },
    "interwikiSources": [],
    "interwikiCacheTime": 7200,
    "refreshInterval": 1,
    "bannedPlugins": [],
    "updateConflictRetryCount": 5,
    "fragmentSize": 150,
    "mainPageCacheWarmer": "",
    "cacheWarmers": [],
    "boostLinks": "",
    "indexAllocation": {
        "include": [],
        "exclude": [],
        "require": []
    },
    "phraseSuggestMaxErrors": null,
    "phraseSuggestConfidence": null
}