我正在运行媒体Wiki的本地版本,并遵循了extract extension的指南。一切就绪并运行。
当我进入localhost / w / api.php时,我可以看到摘录,并随后获得示例查询
localhost/w/api.php?action=query&prop=extracts&exchars=175&titles=Therion
但是所有查询都返回一个空的提取字段。其他所有api都可以正常工作。可能是什么原因?
示例响应:
{
"batchcomplete": "",
"warnings": {
"extracts": {
"*": "\"exlimit\" was too large for a whole article extracts request, lowered to 1."
}
},
"query": {
"normalized": [
{
"from": "Main_Page",
"to": "Main Page"
}
],
"pages": {
"1": {
"pageid": 1,
"ns": 0,
"title": "Main Page",
"extract": ""
}
}
}
}