Forskel mellem versioner af "Wiki hacks"
Fra NørderiWiki
Freesoft (diskussion | bidrag) (Sådan ser det ud nu) |
Freesoft (diskussion | bidrag) |
||
Linje 1: | Linje 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<pre> | <pre> | ||
− | + | # Allow external images | |
− | + | $wgAllowExternalImages = true; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | # Prevent new user registrations except by sysops | |
− | + | $wgGroupPermissions['*']['createaccount'] = false; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | # Restrict anonymous editing | ||
+ | $wgGroupPermissions['*']['edit'] = false; | ||
</pre> | </pre> |
Versionen fra 21. okt 2011, 15:25
# Allow external images $wgAllowExternalImages = true; # Prevent new user registrations except by sysops $wgGroupPermissions['*']['createaccount'] = false; # Restrict anonymous editing $wgGroupPermissions['*']['edit'] = false;