* Changed password hash format, see wikitech-l
[lhc/web/wiklou.git] / includes / DefaultSettings.php
index 153db3e..7f9bab9 100644 (file)
@@ -948,6 +948,11 @@ $wgDebugDumpSql         = false;
  */
 $wgDebugLogGroups       = array();
 
+/**
+ * Show the contents of $wgHooks in Special:Version
+ */
+$wgSpecialVersionShowHooks =  false;
+
 /**
  * Whether to show "we're sorry, but there has been a database error" pages.
  * Displaying errors aids in debugging, but may display information useful
@@ -1135,10 +1140,12 @@ $wgGroupPermissions['sysop']['markbotedits']     = true;
 $wgGroupPermissions['sysop']['suppressredirect'] = true;
 $wgGroupPermissions['sysop']['apihighlimits']    = true;
 $wgGroupPermissions['sysop']['browsearchive']    = true;
+$wgGroupPermissions['sysop']['noratelimit']      = true;
 #$wgGroupPermissions['sysop']['mergehistory']     = true;
 
 // Permission to change users' group assignments
 $wgGroupPermissions['bureaucrat']['userrights']  = true;
+$wgGroupPermissions['bureaucrat']['noratelimit'] = true;
 // Permission to change users' groups assignments across wikis
 #$wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true;
 
@@ -1275,6 +1282,14 @@ $wgAvailableRights = array();
  */
 $wgDeleteRevisionsLimit = 0;
 
+/**
+ * Used to figure out if a user is "active" or not. User::isActiveEditor()
+ * sees if a user has made at least $wgActiveUserEditCount number of edits
+ * within the last $wgActiveUserDays days.
+ */
+$wgActiveUserEditCount = 30;
+$wgActiveUserDays = 30;
+
 # Proxy scanner settings
 #
 
@@ -1324,7 +1339,7 @@ $wgCacheEpoch = '20030516000000';
  * to ensure that client-side caches don't keep obsolete copies of global
  * styles.
  */
-$wgStyleVersion = '149';
+$wgStyleVersion = '153';
 
 
 # Server-side caching:
@@ -2610,6 +2625,8 @@ $wgSpecialPageGroups = array(
        'Deadendpages'              => 'maintenance',
        'Wantedpages'               => 'maintenance',
        'Wantedcategories'          => 'maintenance',
+       'Unwatchedpages'            => 'maintenance',
+       'Fewestrevisions'           => 'maintenance',
 
        'Userlogin'                 => 'login',
        'Userlogout'                => 'login',
@@ -2652,8 +2669,13 @@ $wgSpecialPageGroups = array(
        'Listredirects'             => 'pages',
        'Categories'                => 'pages',
        'Disambiguations'           => 'pages',
-       'Unwatchedpages'            => 'pages',
-       'Fewestrevisions'           => 'pages',
+       
+       'Randompage'                => 'redirects',
+       'Randomredirect'            => 'redirects',
+       'Mypage'                    => 'redirects',
+       'Mytalk'                    => 'redirects',
+       'Mycontributions'           => 'redirects',
+       'Search'                    => 'redirects',
 
        'Movepage'                  => 'pagetools',
        'MergeHistory'              => 'pagetools',
@@ -2672,9 +2694,6 @@ $wgSpecialPageGroups = array(
        'Specialpages'              => 'other',
        'Blockme'                   => 'other',
        'Booksources'               => 'other',
-       'Mypage'                    => 'other',
-       'Mytalk'                    => 'other',
-       'Mycontributions'           => 'other',
 );
 
 /**
@@ -2831,8 +2850,14 @@ $wgRateLimitLog = null;
 
 /**
  * Array of groups which should never trigger the rate limiter
+ * 
+ * @deprecated as of 1.13.0, the preferred method is using
+ *  $wgGroupPermissions[]['noratelimit']. However, this will still
+ *  work if desired.
+ *  
+ *  $wgRateLimitsExcludedGroups = array( 'sysop', 'bureaucrat' );
  */
-$wgRateLimitsExcludedGroups = array( 'sysop', 'bureaucrat' );
+$wgRateLimitsExcludedGroups = array();
 
 /**
  * On Special:Unusedimages, consider images "used", if they are put