手册:$wgRestrictionTypes

From mediawiki.org
This page is a translated version of the page Manual:$wgRestrictionTypes and the translation is 100% complete.
访问: $wgRestrictionTypes
能被限制的操作
引进版本:1.6.0 (r12207)
移除版本:仍在使用
允许的值:(字符串数组)
默认值:[ 'create', 'edit', 'move', 'upload' ] (1.17+)
array( 'edit', 'move' ) (1.6-1.16)

详情

此数组包含可以被限制的操作,即通过保护(使用action=protect)使用户不允许进行的操作。

这些标签是通过系统消息中的 restriction-* 翻译的。

可以其他添加默认不受限制的操作,例如:deleteprotect自己。

另请参阅