MediaWiki配置:修订间差异
小 导入1个版本 |
|||
| (未显示同一用户的3个中间版本) | |||
| 第27行: | 第27行: | ||
chmod 777 images | chmod 777 images | ||
[[ | === 只能登入后查看 === | ||
<syntaxhighlight lang="php"> | |||
# Disable reading by anonymous users | |||
$wgGroupPermissions['*']['read'] = false; | |||
# Disable anonymous editing | |||
$wgGroupPermissions['*']['edit'] = false; | |||
# Prevent new user registrations except by sysops | |||
$wgGroupPermissions['*']['createaccount'] = false; | |||
</syntaxhighlight> | |||
[[分类:MediaWiki]] | |||