手册:$wgRestrictionTypes

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-* 翻译的。

可以其他添加默认不受限制的操作——例如delete、​rollback、​undelete、​bigdelete,甚至protect自己。

Even if create is set in this variable, the creation of pages transcluded from a cascade-protected page is not restricted.

There is no way to restrict undeletion but allow creation on an empty page with no live revisions.

另请参阅