>Am Dienstag, den 04.04.2006, 10:44 +0200 schrieb >[EMAIL PROTECTED]: >> Hi everyone, >> >> The Jmol Wiki is now using a totally new version under MediaWiki instead of >> MoinMoin Wiki. > >> The URL is still the same: http://wiki.jmol.org/ > >It seems, that everyone is allowed to change content. I highly recommend >to change this so only registered users are allowed to change content, >or spam will destroy your work. >
I did this with $wgGroupPermissions = array(); $wgGroupPermissions['*' ]['createaccount'] = false; $wgGroupPermissions['*' ]['read'] = true; $wgGroupPermissions['*' ]['edit'] = false; $wgGroupPermissions['user' ]['edit'] = true; in LocalSettings.php For anyone wishing to seet up a wiki using LDAP, this is how we did that require_once( "extensions/jmol.php" ); require_once( 'LdapAuthentication.php' ); $wgAuth = new LdapAuthenticationPlugin(); $wgLDAPDomainNames = array( "ic.ac.uk" ); $wgLDAPServerNames = array( "ic.ac.uk"=>"unixldap.cc.ic.ac.uk" ); $wgLDAPSearchAttributes = array( "ic.ac.uk"=>"uid" ); $wgLDAPBaseDNs = array( "ic.ac.uk"=>"ou=everyone,dc=ic,dc=ac,dc=uk" ); $wgLDAPUseSSL = true; $wgLDAPUseLocal = false; $wgLDAPAddLDAPUsers = false; $wgLDAPUpdateLDAP = false; $wgLDAPMailPassword = false; $wgLDAPRetrievePrefs = false; $wgMinimalPasswordLength = 1; We also use stuff like RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteCond %{QUERY_STRING} .*Special:Userlogin.* [NC] RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R] RewriteCond %{SERVER_PORT} !^443$ RewriteCond %{REQUEST_URI} .*Special:Userlogin.* [NC] RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R] to ensure Apache logs in using port 443 (secure) rather than port 80. -- Henry Rzepa. +44 (020) 7594 5774 (Voice); +44 (0870) 132 3747 (eFax); [EMAIL PROTECTED] (iChat) http://www.ch.ic.ac.uk/rzepa/ Dept. Chemistry, Imperial College London, SW7 2AZ, UK. (Voracious anti-spam filter in operation for received email. If expected reply not received, please phone/fax). ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users