MediaWiki/Extensions
- SimpleSecurity LocalSettings.php:
$wgSecurityUseDBHook = true; require_once("{$IP}/extensions/SimpleSecurity/SimpleSecurity.php");
$wgPageRestrictions['Namespace:Privat']['read'] = 'sysop'; $wgPageRestrictions['Namespace:Spezial']['read'] = 'sysop'; $wgSecurityRenderInfo = false;
- LdapAuthentication LocalSettings.php:
require_once("extensions/LdapAuthentication.php"); $wgAuth = new LdapAuthenticationPlugin(); $wgLDAPDomainNames = array("domäne"); $wgLDAPServerNames = array("domäne"=>"dcdomäne"); $wgLDAPSearchStrings = array("domäne"=>"domäne\\USER-NAME"); $wgLDAPEncryptionType = array("domäne"=>"clear"); $wgLDAPUseLocal = true; $wgMinimalPasswordLength = 1;
$wgLDAPUseLocal = false; $wgLDAPBaseDNs = array( "domain" => "dc=domain,dc=local" ); $wgLDAPSearchAttributes = array( "domain" => "sAMAccountName" ); $wgLDAPPreferences = array( "domain" => "true" ); $wgLDAPDebug = 0; //for debugging LDAP $wgDebugLogGroups["ldap"] = "/tmp/ldapdebug.log" ; //for debugging LDAP
$wgGroupPermissions['*']['createaccount'] = false;
$wgPasswordPolicy = array( 'policies' => array( 'bureaucrat' => array( 'MinimalPasswordLength' => 1, 'MinimumPasswordLengthToLogin' => 1, 'PasswordCannotMatchUsername' => true, ), 'sysop' => array( 'MinimalPasswordLength' => 1, 'MinimumPasswordLengthToLogin' => 1, 'PasswordCannotMatchUsername' => true, ), 'bot' => array( 'MinimalPasswordLength' => 1, 'MinimumPasswordLengthToLogin' => 1, 'PasswordCannotMatchUsername' => true, ), 'default' => array( 'MinimalPasswordLength' => 1, 'PasswordCannotMatchUsername' => true, 'PasswordCannotMatchBlacklist' => true, 'MaximalPasswordLength' => 4096, ), ), 'checks' => array( 'MinimalPasswordLength' => 'PasswordPolicyChecks::checkMinimalPasswordLength', 'MinimumPasswordLengthToLogin' => 'PasswordPolicyChecks::checkMinimumPasswordLengthToLogin', 'PasswordCannotMatchUsername' => 'PasswordPolicyChecks::checkPasswordCannotMatchUsername', 'PasswordCannotMatchBlacklist' => 'PasswordPolicyChecks::checkPasswordCannotMatchBlacklist', 'MaximalPasswordLength' => 'PasswordPolicyChecks::checkMaximalPasswordLength', ), );
- FCKeditor LocalSettings.php
require_once("extensions/FCKeditor/FCKeditor.php");
- WhosOnline LocalSettings.php
require_once("extensions/WhosOnline/WhosOnline.php");