Reverted r113177 per CR
[lhc/web/wiklou.git] / includes / DefaultSettings.php
index 3fec4c8..e214b7b 100644 (file)
@@ -33,7 +33,7 @@ $wgConf = new SiteConfiguration;
 /** @endcond */
 
 /** MediaWiki version number */
-$wgVersion = '1.19alpha';
+$wgVersion = '1.20alpha';
 
 /** Name of the site. It must be changed in LocalSettings.php */
 $wgSitename = 'MediaWiki';
@@ -361,6 +361,8 @@ $wgImgAuthPublicTest = true;
  * If you set $wgForeignFileRepos to an array of repostory structures, those will
  * be searched after the local file repo.
  * Otherwise, you will only have access to local media files.
+ *
+ * @see Setup.php for an example usage and default initialization.
  */
 $wgLocalFileRepo = false;
 
@@ -451,6 +453,10 @@ $wgAllowCopyUploads = false;
  * This feature is experimental and broken as of r81612.
  */
 $wgAllowAsyncCopyUploads = false;
+/**
+ * A list of domains copy uploads can come from
+ */
+$wgCopyUploadsDomains = array();
 
 /**
  * Max size for uploads, in bytes. If not set to an array, applies to all
@@ -1186,7 +1192,7 @@ $wgEnotifUseRealName = false;
 
 /**
  * Array of usernames who will be sent a notification email for every change
- * which occurs on a wiki.
+ * which occurs on a wiki. Users will not be notified of their own changes.
  */
 $wgUsersNotifiedOnAllChanges = array();
 
@@ -1695,6 +1701,8 @@ $wgStyleVersion = '303';
  * This will cache static pages for non-logged-in users to reduce
  * database traffic on public sites.
  * Must set $wgShowIPinHeader = false
+ * ResourceLoader requests to default language and skins are cached
+ * as well as single module requests.
  */
 $wgUseFileCache = false;
 
@@ -1748,8 +1756,6 @@ $wgSidebarCacheExpiry = 86400;
 /**
  * When using the file cache, we can store the cached HTML gzipped to save disk
  * space. Pages will then also be served compressed to clients that support it.
- * THIS IS NOT COMPATIBLE with ob_gzhandler which is now enabled if supported in
- * the default LocalSettings.php! If you enable this, remove that setting first.
  *
  * Requires zlib support enabled in PHP.
  */
@@ -2172,6 +2178,17 @@ $wgLocaltimezone = null;
  */
 $wgLocalTZoffset = null;
 
+/**
+ * If set to true, this will roll back a few bug fixes introduced in 1.19,
+ * emulating the 1.18 behaviour, to avoid introducing bug 34832. In 1.19,
+ * language variant conversion is disabled in interface messages. Setting this
+ * to true re-enables it.
+ *
+ * This variable should be removed (implicitly false) in 1.20 or earlier.
+ */
+$wgBug34832TransitionalRollback = true;
+
+
 /** @} */ # End of language/charset settings
 
 /*************************************************************************//**
@@ -2278,6 +2295,7 @@ $wgXhtmlNamespaces = array();
 /**
  * Show IP address, for non-logged in users. It's necessary to switch this off
  * for some forms of caching.
+ * Will disable file cache.
  */
 $wgShowIPinHeader = true;
 
@@ -2602,6 +2620,19 @@ $wgResourceLoaderMinifierMaxLineLength = 1000;
  */
 $wgIncludeLegacyJavaScript = true;
 
+/**
+ * Whether to preload the mediawiki.util module as blocking module in the top queue.
+ * Before MediaWiki 1.19, modules used to load slower/less asynchronous which allowed
+ * modules to lack dependencies on 'popular' modules that were likely loaded already.
+ * This setting is to aid scripts during migration by providing mediawiki.util
+ * unconditionally (which was the most commonly missed dependency).
+ * It doesn't cover all missing dependencies obviously but should fix most of them.
+ * This should be removed at some point after site/user scripts have been fixed.
+ * Enable this if your wiki has a large amount of user/site scripts that are lacking
+ * dependencies.
+ */
+$wgPreloadJavaScriptMwUtil = false;
+
 /**
  * Whether or not to assing configuration variables to the global window object.
  * If this is set to false, old code using deprecated variables like:
@@ -3190,6 +3221,7 @@ $wgReservedUsernames = array(
  */
 $wgDefaultUserOptions = array(
        'ccmeonemails'            => 0,
+       'cols'                    => 80,
        'date'                    => 'default',
        'diffonly'                => 0,
        'disablemail'             => 0,
@@ -3210,7 +3242,6 @@ $wgDefaultUserOptions = array(
        'gender'                  => 'unknown',
        'hideminor'               => 0,
        'hidepatrolled'           => 0,
-       'highlightbroken'         => 1,
        'imagesize'               => 2,
        'justify'                 => 0,
        'math'                    => 1,
@@ -3758,7 +3789,7 @@ $wgSummarySpamRegex = array();
  *  - false : let it through
  *
  * @deprecated since 1.17 Use hooks. See SpamBlacklist extension.
- * @var callback
+ * @var $wgFilterCallback bool|string|Closure
  */
 $wgFilterCallback = false;
 
@@ -4028,6 +4059,11 @@ $wgDebugRawPage = false;
  */
 $wgDebugComments = false;
 
+/**
+ * Extensive database transaction state debugging
+ */
+$wgDebugDBTransactions = false;
+
 /**
  * Write SQL queries to the debug log
  */
@@ -4100,7 +4136,7 @@ $wgDevelopmentWarnings = false;
  * development warnings will not be generated for deprecations added in releases
  * after the limit.
  */
-$wgDeprecationReleaseLimit = '1.17';
+$wgDeprecationReleaseLimit = false;
 
 /** Only record profiling info for pages that took longer than this */
 $wgProfileLimit = 0.0;
@@ -4142,7 +4178,7 @@ $wgUDPProfilerPort = '3811';
 $wgDebugProfiling = false;
 
 /** Output debug message on every wfProfileIn/wfProfileOut */
-$wgDebugFunctionEntry = 0;
+$wgDebugFunctionEntry = false;
 
 /**
  * Destination for wfIncrStats() data...
@@ -4218,6 +4254,7 @@ $wgCachePrefix = false;
 /**
  * Display the new debugging toolbar. This also enables profiling on database
  * queries and other useful output.
+ * Will disable file cache.
  *
  * @since 1.19
  */
@@ -5302,17 +5339,24 @@ $wgMaxRedirectLinksRetrieved = 500;
  * Unsetting core actions will probably cause things to complain loudly.
  */
 $wgActions = array(
-       'credits' => true,
-       'history' => true,
-       'info' => true,
-       'markpatrolled' => true,
-       'purge' => true,
-       'raw' => true,
-       'revert' => true,
+       'credits'        => true,
+       'delete'         => true,
+       'edit'           => true,
+       'history'        => true,
+       'info'           => true,
+       'markpatrolled'  => true,
+       'protect'        => true,
+       'purge'          => true,
+       'raw'            => true,
+       'render'         => true,
+       'revert'         => true,
        'revisiondelete' => true,
-       'rollback' => true,
-       'unwatch' => true,
-       'watch' => true,
+       'rollback'       => true,
+       'submit'         => true,
+       'unprotect'      => true,
+       'unwatch'        => true,
+       'view'           => true,
+       'watch'          => true,
 );
 
 /**