All pastes #542243 Raw Edit

Stuff

public text v1 · immutable
·published 2007-06-05 19:34 UTC
rendered paste body
<?php
# lockdown edit rights to sysop users only, other than Talk pages

# require users to login in order to edit in general
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['user']['edit'] = true;
$wgGroupPermissions['sysop']['edit'] = true;

$wgGroupPermissions['*']['move'] = false;
$wgGroupPermissions['user']['move'] = true;
$wgGroupPermissions['sysop']['move'] = true;

$wgGroupPermissions['*']['createtalk'] = false;
$wgGroupPermissions['user']['createtalk'] = true;
$wgGroupPermissions['sysop']['createtalk'] = true;
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['sysop']['createaccount'] = true;

# let them see the front page and login page
$wgWhitelistRead = array( “Special:Userlogin”, “-”, “MediaWiki:Monobook.css”, “M
ain_Page” );

#require users to verify email address before they can edit
$wgEmailConfirmToEdit = true;

?>