Jump to content

User:Despot82

From Wikipedia, the free encyclopedia
  1. Disable reading by anonymous users

$wgGroupPermissions['*']['read'] = false;

  1. But allow them to access the login page or else there will be no way to log in!
  2. [You also might want to add access to "Main Page", "Wikipedia:Help", etc.)

$wgWhitelistRead = array ("Special:Userlogin");

  1. Disable anonymous editing

$wgGroupPermissions['*']['edit'] = false;

  1. Prevent new user registrations except by sysops

$wgGroupPermissions['*']['createaccount'] = false; ER

Terminology

Resources

The resources generally have two types of availability: Availability per object and availability per person. Per object resources are the objects for which it doesn't matter how many people reserves the resource, the availability and prices don't depend on this circumstance. Per person resources are the resources for which it matters how many people reserves the resource, the availability and prices depend on this circumstance.