* MediaWiki version number
* @since 1.2
*/
-$wgVersion = '1.28.0-alpha';
+$wgVersion = '1.29.0-alpha';
/**
* Name of the site. It must be changed in LocalSettings.php
$wgEnableUserEmail = true;
/**
- * Set to true to put the sending user's email in a Reply-To header
- * instead of From. ($wgEmergencyContact 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
* is in this case an unwanted overhead that just slows things down.
*
* @warning EXPERIMENTAL!
- *
*/
$wgDBOracleDRCP = false;
*/
$wgParserCacheExpireTime = 86400;
-/**
- * Deprecated alias for $wgSessionsInObjectCache.
- *
- * @deprecated since 1.20; Use $wgSessionsInObjectCache
- */
-$wgSessionsInMemcached = true;
-
/**
* @deprecated since 1.27, session data is always stored in object cache.
*/
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,
* @since 1.28
*/
$wgEnableMagicLinks = [
- 'ISBN' => true,
- 'PMID' => true,
- 'RFC' => true
+ 'ISBN' => false,
+ 'PMID' => false,
+ 'RFC' => false
];
/** @} */ # end of parser settings }
$wgGrantPermissions['viewdeleted']['deletedhistory'] = true;
$wgGrantPermissions['viewdeleted']['deletedtext'] = true;
+$wgGrantPermissions['viewrestrictedlogs']['suppressionlog'] = true;
+
$wgGrantPermissions['delete'] = $wgGrantPermissions['editpage'] +
$wgGrantPermissions['viewdeleted'];
$wgGrantPermissions['delete']['delete'] = true;
'blockusers' => 'administration',
'delete' => 'administration',
'viewdeleted' => 'administration',
+ 'viewrestrictedlogs' => 'administration',
'protect' => 'administration',
'createaccount' => 'administration',
/**
* Default cookie lifetime, in seconds. Setting to 0 makes all cookies session-only.
*/
-$wgCookieExpiration = 180 * 86400;
+$wgCookieExpiration = 30 * 86400;
/**
* Default login cookie lifetime, in seconds. Setting
* calculate the cookie lifetime. As with $wgCookieExpiration, 0 will make
* login cookies session-only.
*/
-$wgExtendedLoginCookieExpiration = null;
+$wgExtendedLoginCookieExpiration = 180 * 86400;
/**
* Set to set an explicit domain on the login cookies eg, "justthis.domain.org"
*/
$wgSessionName = false;
+/**
+ * Whether to set a cookie when a user is autoblocked. Doing so means that a blocked user, even
+ * after logging out and moving to a new IP address, will still be blocked.
+ */
+$wgCookieSetOnAutoblock = false;
+
/** @} */ # end of cookie settings }
/************************************************************************//**
'contentmodel/change' => 'ContentModelLogFormatter',
'contentmodel/new' => 'ContentModelLogFormatter',
'delete/delete' => 'DeleteLogFormatter',
+ 'delete/delete_redir' => 'DeleteLogFormatter',
'delete/event' => 'DeleteLogFormatter',
'delete/restore' => 'DeleteLogFormatter',
'delete/revision' => 'DeleteLogFormatter',
],
'delete' => [
'delete' => [ 'delete' ],
+ 'delete_redir' => [ 'delete_redir' ],
'restore' => [ 'restore' ],
'event' => [ 'event' ],
'revision' => [ 'revision' ],
*/
$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.
*/
*
* @since 1.23
*/
-$wgRunJobsAsync = (
- !function_exists( 'register_postsend_function' ) &&
- !function_exists( 'fastcgi_finish_request' )
-);
+$wgRunJobsAsync = false;
/**
* Number of rows to update per job
/**
* Where popular password file is located.
*
- * Default in core contains 50,000 most popular. This config
+ * Default in core contains 10,000 most popular. This config
* allows you to change which file, in case you want to generate
- * a password file with > 50000 entries in it.
+ * a password file with > 10000 entries in it.
*
* @see maintenance/createCommonPasswordCdb.php
* @since 1.27
'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