手册:$wgEnableWriteAPI

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgEnableWriteAPI and the translation is 75% complete.
Other languages:
English • ‎español • ‎français • ‎magyar • ‎polski • ‎русский • ‎中文 • ‎日本語
API: $wgEnableWriteAPI
允许API在授权用户访问时用于执行写操作(页面编辑、回退等)。
引进版本:1.8.0 (r16742)
弃用版本:1.31.0 (Gerrit change 383726; git #I8c98ce6)
移除版本:1.32.0 (Gerrit change 392542; git #I54ff942)
允许的值:(布尔值)
默认值:true (1.14-1.31)
false (1.8-1.13)

细节

允许API在授权用户访问时用于执行写操作(页面编辑、回退等)。

Use the writeapi right instead to enable or disable API writes to specfic or all user groups.

Starting with MediaWiki 1.32.0 the API cannot be disabled completely since it is now required for running MediaWiki.

参见