X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2FDefaultSettings.php;h=77061dfcc83ab42209119a41e6321a655286c759;hb=873d3c9ffc398f05575f42f3614418bc6aed3b41;hp=5557dca8757129e5dad34d2d2f329a35e445c81b;hpb=d6bdb6bb9a680133a3ca72237c8fcea0ae679ee7;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 5557dca875..77061dfcc8 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1585,14 +1585,15 @@ $wgEnableEmail = true; $wgEnableUserEmail = true; /** - * Set to true to put the sending user's email in a Reply-To header - * instead of From. ($wgPasswordSender will be used as From.) + * If true put the sending user's email in a Reply-To header + * instead of From (false). ($wgPasswordSender will be used as From.) * * Some mailers (eg SMTP) set the SMTP envelope sender to the From value, * which can cause problems with SPF validation and leak recipient addresses - * when bounces are sent to the sender. + * when bounces are sent to the sender. In addition, DMARC restrictions + * can cause emails to fail to be received when false. */ -$wgUserEmailUseReplyTo = false; +$wgUserEmailUseReplyTo = true; /** * Minimum time, in hours, which must elapse between password reminder @@ -2031,7 +2032,6 @@ $wgDBmysql5 = false; * is in this case an unwanted overhead that just slows things down. * * @warning EXPERIMENTAL! - * */ $wgDBOracleDRCP = false; @@ -4016,6 +4016,7 @@ $wgNamespacesWithSubpages = [ NS_FILE_TALK => true, NS_MEDIAWIKI => true, NS_MEDIAWIKI_TALK => true, + NS_TEMPLATE => true, NS_TEMPLATE_TALK => true, NS_HELP => true, NS_HELP_TALK => true, @@ -4816,6 +4817,7 @@ $wgDefaultUserOptions = [ 'previewonfirst' => 0, 'previewontop' => 1, 'rcdays' => 7, + 'rcenhancedfilters' => 0, 'rclimit' => 50, 'rows' => 25, 'showhiddencats' => 0, @@ -4850,7 +4852,9 @@ $wgDefaultUserOptions = [ /** * An array of preferences to not show for the user */ -$wgHiddenPrefs = []; +$wgHiddenPrefs = [ + 'rcenhancedfilters', +]; /** * Characters to prevent during new account creations. @@ -8054,6 +8058,12 @@ $wgShellLocale = 'en_US.utf8'; */ $wgHTTPTimeout = 25; +/** + * Timeout for HTTP requests done internally for transwiki imports, in seconds. + * @since 1.29 + */ +$wgHTTPImportTimeout = 25; + /** * Timeout for Asynchronous (background) HTTP requests, in seconds. */ @@ -8104,10 +8114,7 @@ $wgJobRunRate = 1; * * @since 1.23 */ -$wgRunJobsAsync = ( - !function_exists( 'register_postsend_function' ) && - !function_exists( 'fastcgi_finish_request' ) -); +$wgRunJobsAsync = false; /** * Number of rows to update per job @@ -8462,6 +8469,23 @@ $wgCSPFalsePositiveUrls = [ 'https://d5p.de17a.com' => true, ]; +/** + * The following variables define 3 user experience levels: + * + * - newcomer: has not yet reached the 'learner' level + * + * - learner: has at least $wgLearnerEdits and has been + * a member for $wgLearnerMemberSince days + * but has not yet reached the 'experienced' level. + * + * - experienced: has at least $wgExperiencedUserEdits edits and + * has been a member for $wgExperiencedUserMemberSince days. + */ +$wgLearnerEdits = 10; +$wgLearnerMemberSince = 4; # days +$wgExperiencedUserEdits = 500; +$wgExperiencedUserMemberSince = 30; # days + /** * For really cool vim folding this needs to be at the end: * vim: foldmarker=@{,@} foldmethod=marker