don't know if you saw my earlier post - I followed those instructions
carefully. I don't see anything there about a sysop having to authorise
new users though....I've copied the pertinent bits at the end of this
message.
Dealing with forcing login to edit first:
The opening of the localsettings.php reads thus: you can see right near
the end where I added the line
$wgWhitelistEdit = true;
I don't actually see in the FAQ how to set things so that only approved
users can have accounts but i followed instructions given here some time
ago:
<?php
# This file was automatically generated by the MediaWiki installer.
# If you make manual changes, please keep track in case you need to
# recreate them later.
$IP = "/nfs/rcs/www/webdocs/calt/alpd/mediawiki-1.3.1";
ini_set( "include_path", ".:$IP:$IP/includes:$IP/languages" );
include_once( "DefaultSettings.php" );
# If PHP's memory limit is very low, some operations may fail.
# ini_set( 'memory_limit', '20M' );
if ( $wgCommandLineMode ) {
if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD',
$_SERVER ) ) {
die( "This script must be run from the command line\n" );
}
} else {
## Compress output if the browser supports it
if( !ini_get( 'zlib.output_compression' ) ) ob_start( 'ob_gzhandler'
);
}
$wgSitename = "ALPDwiki";
$wgScriptPath = "/calt/alpd/mediawiki-1.3.1";
$wgScript = "$wgScriptPath/index.php";
$wgRedirectScript = "$wgScriptPath/redirect.php";
$wgWhitelistEdit = true; # user must login to edit. This line added
by Jason April 22 2005
## If using PHP as a CGI module, use the ugly URLs
# $wgArticlePath = "$wgScript/$1";
$wgArticlePath = "$wgScript?title=$1";
(end of excerpt)
This is what I added to the localsettings.php
Add the following lines to LocalSettings.php:
# Prevent new user
registrations - only users with sysop status can
# create users.
$wgWhitelistAccount = array ( "sysop" => 1 );
# You must be a logged
in user to edit pages. Combining this
# restriction with the previous
restriction means we control who can
# edit pages. $wgWhitelistEdit =
true;
thanks for any help. I will sort out the update asap.