MediaWiki API 帮助
这是自动生成的MediaWiki API文档页面。
文档和例子:-{R|https://www.mediawiki.org/wiki/API:Main_page/zh}-
prop=entityterms (wbet)
- 此模块需要读取权限。
- 来源:WikibaseView
- 许可协议:GPL-2.0-or-later
Get the terms (labels, descriptions and aliases) of the entity on this page.
参数:
- wbetcontinue
当更多结果可用时,使用这个继续。
- Type: integer
- wbetterms
The types of terms to get, e.g. 'description', each returned as an array of strings keyed by their type, e.g. {"description": ["foo"]}. If not specified, all types are returned.
- 值(以|或替代物分隔):alias、description、label
- Default: alias|label|description
例子:
- 获取项Q84的标签和别名。
- api.php?action=query&prop=entityterms&titles=Q84 [在沙盒中打开]