anchor.diff:  
   # Restrict access to the upload directory
   $wgUploadPath = "$wgScriptPath/img_auth.php";
  -<% end -%>
  -
  -<% if not(@mediawiki[:private_accounts]) and not(@mediawiki[:private_site]) -%>
  -# user group "confirmed" with identical rights as "autoconfirmed", but assigned manually by sysops
  -$wgGroupPermissions['confirmed'] = $wgGroupPermissions['autoconfirmed'];
  -$wgAddGroups['sysop'][] = 'confirmed';
  -$wgRemoveGroups['sysop'][] = 'confirmed';
   <% end -%>
   
   # Allow Subpages on Main Namespace
  
positive.code: 
  # Extend autoblock period
  $wgAutoblockExpiry = 7776000; // 90 days
  
  # Autopromote users to autoconfirmed
  $wgAutoConfirmAge = 345600; // 4 days
  $wgAutoConfirmCount = 10;
  
  # Disable Hit Counter for Performance
  $wgDisableCounters = TRUE;
  
negative.code: $wgGroupPermissions['*']['createaccount'] = false;
  $wgGroupPermissions['user']['createaccount'] = true;
  <% end -%>
  
  <% if @mediawiki[:private_site] -%>
  # Disable reading by anonymous users
  $wgGroupPermissions['*']['read'] = false;
  
  