(bug 13454) Article::updateCategoryCounts can attempt to execute empty inserts.
[lhc/web/wiklou.git] / includes / DefaultSettings.php
index 881fafe..6a8b156 100644 (file)
@@ -188,7 +188,7 @@ $wgFileStore['deleted']['hash'] = 3;         // 3-level subdirectory split
  *                      The core repository classes are LocalRepo, ForeignDBRepo, FSRepo.
  *
  *    name                             A unique name for the repository.
- *                      
+ *
  * For all core repos:
  *    url               Base public URL
  *    hashLevels        The number of directory levels for hash-based division of files
@@ -1132,7 +1132,6 @@ $wgGroupPermissions['sysop']['move']            = true;
 $wgGroupPermissions['sysop']['patrol']          = true;
 $wgGroupPermissions['sysop']['autopatrol']      = true;
 $wgGroupPermissions['sysop']['protect']         = true;
-$wgGroupPermissions['sysop']['editprotected']   = true;
 $wgGroupPermissions['sysop']['proxyunbannable'] = true;
 $wgGroupPermissions['sysop']['rollback']        = true;
 $wgGroupPermissions['sysop']['trackback']       = true;
@@ -1326,7 +1325,7 @@ $wgCacheEpoch = '20030516000000';
  * to ensure that client-side caches don't keep obsolete copies of global
  * styles.
  */
-$wgStyleVersion = '118';
+$wgStyleVersion = '123';
 
 
 # Server-side caching:
@@ -1727,6 +1726,7 @@ $wgMediaHandlers = array(
        'image/png' => 'BitmapHandler',
        'image/gif' => 'BitmapHandler',
        'image/x-ms-bmp' => 'BmpHandler',
+       'image/x-bmp' => 'BmpHandler',
        'image/svg+xml' => 'SvgHandler', // official
        'image/svg' => 'SvgHandler', // compat
        'image/vnd.djvu' => 'DjVuHandler', // official
@@ -2873,6 +2873,12 @@ $wgEnableWriteAPI = false;
  */
 $wgAPIModules = array();
 
+/**
+ * Minimum length of list=usercontribs's ucuserprefix parameter
+ * Setting this to a low value can open DOS windows on large wikis
+ */
+$wgAPIUCUserPrefixMinLength = 3;
+
 /**
  * Parser test suite files to be run by parserTests.php when no specific
  * filename is passed to it.