* Changed password hash format, see wikitech-l
[lhc/web/wiklou.git] / includes / DefaultSettings.php
index f47383f..7f9bab9 100644 (file)
@@ -720,13 +720,6 @@ $wgLocalMessageCache = false;
  */
 $wgLocalMessageCacheSerialized = true;
 
-/**
- * Cache messages in MesssageCache per language, instead of all them together.
- * Enable this if you have thousands of messages in MediaWiki namespace in many
- * different languages.
- */
-$wgPerLanguageCaching = false;
-
 /**
  * Directory for compiled constant message array databases
  * WARNING: turning anything on will just break things, aaaaaah!!!!
@@ -955,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
@@ -1142,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;
 
@@ -1282,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
 #
 
@@ -1331,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:
@@ -2612,6 +2620,13 @@ $wgSpecialPageGroups = array(
        'Unusedtemplates'           => 'maintenance',
        'Withoutinterwiki'          => 'maintenance',
        'Longpages'                 => 'maintenance',
+       'Shortpages'                => 'maintenance',
+       'Ancientpages'              => 'maintenance',
+       'Deadendpages'              => 'maintenance',
+       'Wantedpages'               => 'maintenance',
+       'Wantedcategories'          => 'maintenance',
+       'Unwatchedpages'            => 'maintenance',
+       'Fewestrevisions'           => 'maintenance',
 
        'Userlogin'                 => 'login',
        'Userlogout'                => 'login',
@@ -2639,12 +2654,8 @@ $wgSpecialPageGroups = array(
        'Listbots'                  => 'users',
        'Userrights'                => 'users',
        'Blockip'                   => 'users',
-
-       'Wantedpages'               => 'needy',
-       'Wantedcategories'          => 'needy',
-       'Shortpages'                => 'needy',
-       'Ancientpages'              => 'needy',
-       'Deadendpages'              => 'needy',
+       'Preferences'               => 'users',
+       'Resetpass'                 => 'users',
 
        'Mostlinked'                => 'highuse',
        'Mostlinkedcategories'      => 'highuse',
@@ -2652,36 +2663,37 @@ $wgSpecialPageGroups = array(
        'Mostcategories'            => 'highuse',
        'Mostimages'                => 'highuse',
        'Mostrevisions'             => 'highuse',
+       
+       'Allpages'                  => 'pages',
+       'Prefixindex'               => 'pages',
+       'Listredirects'             => 'pages',
+       'Categories'                => 'pages',
+       'Disambiguations'           => 'pages',
+       
+       'Randompage'                => 'redirects',
+       'Randomredirect'            => 'redirects',
+       'Mypage'                    => 'redirects',
+       'Mytalk'                    => 'redirects',
+       'Mycontributions'           => 'redirects',
+       'Search'                    => 'redirects',
+
+       'Movepage'                  => 'pagetools',
+       'MergeHistory'              => 'pagetools',
+       'Revisiondelete'            => 'pagetools',
+       'Undelete'                  => 'pagetools',
+       'Export'                    => 'pagetools',
+       'Import'                    => 'pagetools',
+       'Whatlinkshere'             => 'pagetools',
+
+       'Statistics'                => 'wiki',
+       'Version'                   => 'wiki',
+       'Lockdb'                    => 'wiki',
+       'Unlockdb'                  => 'wiki',
+       'Allmessages'               => 'wiki',
 
-       'Statistics'                => 'other',
-       'Fewestrevisions'           => 'other',
-       'Randompage'                => 'other',
-       'Disambiguations'           => 'other',
        'Specialpages'              => 'other',
        'Blockme'                   => 'other',
-       'Movepage'                  => 'other',
-       'MergeHistory'              => 'other',
-       'Lockdb'                    => 'other',
-       'Unlockdb'                  => 'other',
-       'Version'                   => 'other',
-       'Whatlinkshere'             => 'other',
        'Booksources'               => 'other',
-       'Revisiondelete'            => 'other',
-       'Export'                    => 'other',
-       'Categories'                => 'other',
-       'Undelete'                  => 'other',
-       'Import'                    => 'other',
-       'Unwatchedpages'            => 'other',
-       'Randomredirect'            => 'other',
-       'Allpages'                  => 'other',
-       'Allmessages'               => 'other',
-       'Prefixindex'               => 'other',
-       'Listredirects'             => 'other',
-       'Preferences'               => 'other',
-       'Resetpass'                 => 'other',
-       'Mypage'                    => 'other',
-       'Mytalk'                    => 'other',
-       'Mycontributions'           => 'other',
 );
 
 /**
@@ -2838,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