MediaWiki/Extensions: Difference between revisions
Appearance
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
* [https://www.mediawiki.org/w/index.php?title=Extension:DynamicPageList DynamicPage List aka intersection]: | |||
Message: "Category: Pages using the DynamicPageList extension" | |||
<blockquote> | |||
<pre> | |||
Fix: | |||
1) - go to Special:TrackingCategories | |||
- edit MediaWiki:intersection-category to be a single dash | |||
or | |||
2) - On affected page, click on the category link "Pages using DynamicPageList" | |||
- Add "__HIDDENCAT__" to page | |||
</pre> | |||
</blockquote> | |||
* [http://www.mediawiki.org/wiki/Extension:SimpleSecurity SimpleSecurity] LocalSettings.php: | * [http://www.mediawiki.org/wiki/Extension:SimpleSecurity SimpleSecurity] LocalSettings.php: | ||
$wgSecurityUseDBHook = true; | $wgSecurityUseDBHook = true; |
Latest revision as of 15:36, 13 January 2025
Message: "Category: Pages using the DynamicPageList extension"
Fix: 1) - go to Special:TrackingCategories - edit MediaWiki:intersection-category to be a single dash or 2) - On affected page, click on the category link "Pages using DynamicPageList" - Add "__HIDDENCAT__" to page
- 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");