Manual:$wgNamespaceProtection/zh

详情
此设置允许一个wiki要求特殊权限来编辑某些名字空间. 默认来说，只有MediaWiki名字空间被限制，仅有拥有 权限的用户（默认情况下为管理员）可以编辑.

The keys of the array are namespace numbers, and the values are simple arrays of permission names. 如果你给一个名字空间列举了多于一项的权限要求，那那个用户必须拥有所列举的所有权限才能在那个名字空间进行编辑.

自从版本1.14起，MediaWiki: 名字空间被无条件地保护，仅允许拥有'editinterface'的用户编辑（与之前版本相同）. 这在中设置，而且无法在中修改. 因为要是被不正确地设置容易导致wiki不安全. 如果你想允许除管理员以外的用户组编辑MediaWiki: 名空间，请对这些用户组授予'editinterface'权限.

It's not possible to restrict read access to a certain namespace with $wgNamespaceProtection. (See )

Restricting editing of the main namespace
This restricts editing in the main namespace to people in a group that has the edit-main permission.

Disabling talk pages
Since "everyone" is not a core permission, literally everyone get's denied access (including sysops). Note that you'll still need to remove the tab through other methods (see: )