MediaWiki API 帮助

这是自动生成的MediaWiki API文档页面。

文档和例子:-{R|https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page}-

list=growthtasks (gt)

main | query | growthtasks
  • 此模块是内部或不稳定的。它的操作可以更改而不另行通知。
  • 此模块需要读取权限。
  • 此模块可作为发生器使用。
  • 来源:GrowthExperiments
  • 许可协议:GPL-3.0-or-later

获取适合编辑新手的任务建议。

建议一组内容有尚未解决的问题,并且能让新手轻松处理的条目集。

参数:
gttasktypes

用来限制结果的任务类型。若留空代表接收所有建议。

copyedit
编修
references
查找参考文献
update
更新条目
expand
拓展简短条目
link-recommendation
添加条目间的链接
image-recommendation
添加建议图像
links
添加条目之间的链接
值(以|替代物分隔):copyedit、​expand、​image-recommendation、​link-recommendation、​links、​references、​update
默认:(空)
gttopics

在任务建议里优先的条目主题。

sports
体育
entertainment
娱乐
architecture
建筑
tv-and-film
影视
literature
文学
fashion
时尚
comics-and-anime
漫画和动漫
video-games
电子游戏
art
艺术
performing-arts
表演艺术
music
音乐
transportation
交通运输
biography
传记 (全部)
women
传记 (女性)
military-and-warfare
军事与战争
history
历史
philosophy-and-religion
哲学与宗教
business-and-economics
商业与经济
politics-and-government
政治与政府
education
教育
society
社会
food-and-drink
饮食
chemistry
化学
medicine-and-health
医药与健康
earth-and-environment
地球与环境
engineering
工程
technology
技术
mathematics
数学
physics
物理
biology
生物
general-science
科学通论
computers-and-internet
计算机与互联网
central-america
中美洲
asia
亚洲
north-america
北美洲
south-america
南美洲
oceania
大洋洲
europe
欧洲
africa
非洲
值(以|替代物分隔):africa、​architecture、​art、​asia、​biography、​biology、​business-and-economics、​central-america、​chemistry、​comics-and-anime、​computers-and-internet、​earth-and-environment、​education、​engineering、​entertainment、​europe、​fashion、​food-and-drink、​general-science、​history、​literature、​mathematics、​medicine-and-health、​military-and-warfare、​music、​north-america、​oceania、​performing-arts、​philosophy-and-religion、​physics、​politics-and-government、​society、​south-america、​sports、​technology、​transportation、​tv-and-film、​video-games、​women
默认:(空)
gttopicsmode
⧼apihelp-query+growthtasks-param-topicsmode⧽
以下值中的一个:AND、​OR
gtlimit

回传任务建议的最大数量。

类型:整数或max
值必须介于0和250之间。
gtoffset

当更多结果可用时,使用这个继续。可在 mediawiki.org 获取更多有关如何继续查询的详细信息。

类型:整数
值必须不少于1。
gtdebug

添加调试资料到输出里。

类型:布尔型 (详情)
gtexcludepageids

要从查询排除的页面ID。

类型:整数列表
通过|替代物隔开各值。
值的最大值为1,000。
例子:
获取目前用户的校稿类型任务的任务推荐。
api.php?action=query&list=growthtasks&gttasktypes=copyedit [在沙盒中打开]
获取目前用户的任务推荐,以及有关页面的扩展信息。
api.php?action=query&generator=growthtasks&ggtlimit=max&prop=info|revision [在沙盒中打开]