X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=608ef6ae5551e7651e822b9458d983da6abf12a4;hb=c19e0a2ee969213c96a4153904ed4ff0cdec4e17;hp=5bf6163859b74ce52f31337702792ebbcef3608b;hpb=535ddd055cd8f5c045d4a100386b7a5938414974;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 5bf6163859..608ef6ae55 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -2052,23 +2052,21 @@ $wgSharedSchema = false; * sent to it. It will be excluded from lag checks in maintenance scripts. * The only way it can receive traffic is if groupLoads is used. * - * - groupLoads: array of load ratios, the key is the query group name. A query may belong - * to several groups, the most specific group defined here is used. - * - * - flags: bit field - * - DBO_DEFAULT -- turns on DBO_TRX only if "cliMode" is off (recommended) - * - DBO_DEBUG -- equivalent of $wgDebugDumpSql - * - DBO_TRX -- wrap entire request in a transaction - * - DBO_NOBUFFER -- turn off buffering (not useful in LocalSettings.php) - * - DBO_PERSISTENT -- enables persistent database connections - * - DBO_SSL -- uses SSL/TLS encryption in database connections, if available - * - DBO_COMPRESS -- uses internal compression in database connections, - * if available + * - groupLoads: (optional) Array of load ratios, the key is the query group name. A query + * may belong to several groups, the most specific group defined here is used. + * + * - flags: (optional) Bit field of properties: + * - DBO_DEFAULT: Transactionalize web requests and use autocommit otherwise + * - DBO_DEBUG: Equivalent of $wgDebugDumpSql + * - DBO_SSL: Use TLS connection encryption if available + * - DBO_COMPRESS: Use protocol compression with database connections + * - DBO_PERSISTENT: Enables persistent database connections * * - max lag: (optional) Maximum replication lag before a replica DB goes out of rotation * - is static: (optional) Set to true if the dataset is static and no replication is used. * - cliMode: (optional) Connection handles will not assume that requests are short-lived * nor that INSERT..SELECT can be rewritten into a buffered SELECT and INSERT. + * This is what DBO_DEFAULT uses to determine when a web request is present. * [Default: uses value of $wgCommandLineMode] * * These and any other user-defined properties will be assigned to the mLBInfo member @@ -2138,34 +2136,6 @@ $wgDBerrorLog = false; */ $wgDBerrorLogTZ = false; -/** - * Set true to enable Oracle DCRP (supported from 11gR1 onward) - * - * To use this feature set to true and use a datasource defined as - * POOLED (i.e. in tnsnames definition set server=pooled in connect_data - * block). - * - * Starting from 11gR1 you can use DCRP (Database Resident Connection - * Pool) that maintains established sessions and reuses them on new - * connections. - * - * Not completely tested, but it should fall back on normal connection - * in case the pool is full or the datasource is not configured as - * pooled. - * And the other way around; using oci_pconnect on a non pooled - * datasource should produce a normal connection. - * - * When it comes to frequent shortlived DB connections like with MW - * Oracle tends to s***. The problem is the driver connects to the - * database reasonably fast, but establishing a session takes time and - * resources. MW does not rely on session state (as it does not use - * features such as package variables) so establishing a valid session - * is in this case an unwanted overhead that just slows things down. - * - * @warning EXPERIMENTAL! - */ -$wgDBOracleDRCP = false; - /** * Other wikis on this site, can be administered from a single developer account. * @@ -3277,33 +3247,6 @@ $wgOverrideUcfirstCharacters = []; */ $wgMimeType = 'text/html'; -/** - * Previously used as content type in HTML script tags. This is now ignored since - * HTML5 doesn't require a MIME type for script tags (javascript is the default). - * It was also previously used by RawAction to determine the ctype query parameter - * value that will result in a javascript response. - * @deprecated since 1.22 - */ -$wgJsMimeType = null; - -/** - * The default xmlns attribute. The option to define this has been removed. - * The value of this variable is no longer used by core and is set to a fixed - * value in Setup.php for compatibility with extensions that depend on the value - * of this variable being set. Such a dependency however is deprecated. - * @deprecated since 1.22 - */ -$wgXhtmlDefaultNamespace = null; - -/** - * Previously used to determine if we should output an HTML5 doctype. - * This is no longer used as we always output HTML5 now. For compatibility with - * extensions that still check the value of this config it's value is now forced - * to true by Setup.php. - * @deprecated since 1.22 - */ -$wgHtml5 = true; - /** * Defines the value of the version attribute in the <html> tag, if any. * @@ -4737,12 +4680,6 @@ $wgRemoveCredentialsBlacklist = [ \MediaWiki\Auth\PasswordAuthenticationRequest::class, ]; -/** - * For compatibility with old installations set to false - * @deprecated since 1.24 will be removed in future - */ -$wgPasswordSalt = true; - /** * Specifies the minimal length of a user password. If set to 0, empty pass- * words are allowed. @@ -5200,6 +5137,7 @@ $wgGroupPermissions['user']['minoredit'] = true; $wgGroupPermissions['user']['editmyusercss'] = true; $wgGroupPermissions['user']['editmyuserjson'] = true; $wgGroupPermissions['user']['editmyuserjs'] = true; +$wgGroupPermissions['user']['editmyuserjsredirect'] = true; $wgGroupPermissions['user']['purge'] = true; $wgGroupPermissions['user']['sendemail'] = true; $wgGroupPermissions['user']['applychangetags'] = true; @@ -5494,7 +5432,7 @@ $wgAutoConfirmCount = 0; * - [ APCOND_IPINRANGE, range ]: * true if the user has an IP address in the range of the passed parameter * - [ APCOND_BLOCKED ]: - * true if the user is blocked + * true if the user is sitewide blocked * - [ APCOND_ISBOT ]: * true if the user is a bot * - similar constructs can be defined by extensions @@ -6034,9 +5972,8 @@ $wgSecretKey = false; * Big list of banned IP addresses. * * This can have the following formats: - * - An array of addresses, either in the values - * or the keys (for backward compatibility, deprecated since 1.30) - * - A string, in that case this is the path to a file + * - An array of addresses + * - A string, in which case this is the path to a file * containing the list of IP addresses, one per line */ $wgProxyList = [];