MediaWiki API 结果

这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。

指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json

参见完整文档,或API帮助以获取更多信息。

{
    "profiles": {
        "crossproject_block_scorer": {
            "repositories": {
                "cirrus_base": [
                    "static",
                    "recall",
                    "random",
                    "wmf_enwiki"
                ],
                "cirrus_config": []
            },
            "contexts": {
                "default": {
                    "code_default": "static",
                    "actual_default": "static",
                    "overriders": [
                        {
                            "type": "config",
                            "priority": 400,
                            "configEntry": "CirrusSearchCrossProjectOrder",
                            "value": "static"
                        }
                    ]
                }
            }
        },
        "similarity": {
            "repositories": {
                "cirrus_base": [
                    "default",
                    "classic",
                    "bm25_with_defaults",
                    "bm25_tuned",
                    "bm25_browser_tests",
                    "wmf_defaults"
                ],
                "cirrus_config": []
            },
            "contexts": {
                "default": {
                    "code_default": "default",
                    "actual_default": "classic",
                    "overriders": [
                        {
                            "type": "config",
                            "priority": 400,
                            "configEntry": "CirrusSearchSimilarityProfile",
                            "value": "classic"
                        }
                    ]
                }
            }
        },
        "rescore": {
            "repositories": {
                "cirrus_base": [
                    "classic",
                    "classic_noboostlinks",
                    "empty",
                    "wsum_inclinks",
                    "wsum_inclinks_pv",
                    "popular_inclinks_pv",
                    "popular_inclinks"
                ],
                "cirrus_config": []
            },
            "contexts": {
                "default": {
                    "code_default": "classic",
                    "actual_default": "classic",
                    "overriders": [
                        {
                            "type": "uriParam",
                            "priority": 100,
                            "uriParam": "cirrusRescoreProfile"
                        },
                        {
                            "type": "config",
                            "priority": 400,
                            "configEntry": "CirrusSearchRescoreProfile",
                            "value": "classic"
                        }
                    ]
                },
                "prefixsearch": {
                    "code_default": "classic",
                    "actual_default": "classic",
                    "overriders": [
                        {
                            "type": "uriParam",
                            "priority": 100,
                            "uriParam": "cirrusRescoreProfile"
                        },
                        {
                            "type": "config",
                            "priority": 400,
                            "configEntry": "CirrusSearchPrefixSearchRescoreProfile",
                            "value": "classic"
                        }
                    ]
                }
            }
        },
        "rescore_function_chains": {
            "repositories": {
                "cirrus_base": [
                    "classic_allinone_chain",
                    "optional_chain",
                    "boostlinks_only_chain",
                    "wsum_inclinks",
                    "wsum_inclinks_pv",
                    "wsum_inclinks_pv+"
                ],
                "cirrus_config": []
            }
        },
        "completion": {
            "repositories": {
                "cirrus_base": [
                    "strict",
                    "normal",
                    "fuzzy",
                    "fast-fuzzy",
                    "classic"
                ],
                "cirrus_config": []
            },
            "contexts": {
                "default": {
                    "code_default": "fuzzy",
                    "actual_default": "fuzzy",
                    "overriders": [
                        {
                            "type": "userPreference",
                            "priority": 200,
                            "userPreference": "cirrussearch-pref-completion-profile"
                        },
                        {
                            "type": "config",
                            "priority": 400,
                            "configEntry": "CirrusSearchCompletionSettings",
                            "value": "fuzzy"
                        }
                    ]
                }
            }
        },
        "phrase_suggester": {
            "repositories": {
                "cirrus_base": [
                    "default",
                    "strict",
                    "alternative"
                ],
                "cirrus_config": []
            },
            "contexts": {
                "default": {
                    "code_default": "default",
                    "actual_default": "default",
                    "overriders": [
                        {
                            "type": "config",
                            "priority": 400,
                            "configEntry": "CirrusSearchPhraseSuggestSettings",
                            "value": "default"
                        }
                    ]
                }
            }
        },
        "saneitizer": {
            "repositories": {
                "cirrus_base": [
                    "XS",
                    "S",
                    "M",
                    "L",
                    "XL",
                    "XXL"
                ]
            }
        },
        "ft_query_builder": {
            "repositories": {
                "cirrus_base": [
                    "default",
                    "browser_tests",
                    "perfield_builder",
                    "perfield_builder_title_filter"
                ],
                "cirrus_config": []
            },
            "contexts": {
                "default": {
                    "code_default": "default",
                    "actual_default": "default",
                    "overriders": [
                        {
                            "type": "uriParam",
                            "priority": 100,
                            "uriParam": "cirrusFTQBProfile"
                        },
                        {
                            "type": "config",
                            "priority": 400,
                            "configEntry": "CirrusSearchFullTextQueryBuilderProfile",
                            "value": "default"
                        }
                    ]
                }
            }
        }
    },
    "contexts": {
        "default": {
            "crossproject_block_scorer": "static",
            "similarity": "classic",
            "rescore": "classic",
            "completion": "fuzzy",
            "phrase_suggester": "default",
            "ft_query_builder": "default"
        },
        "prefixsearch": {
            "rescore": "classic"
        }
    }
}