X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=2bad0db0b21bfc21a5d3719d4e2ecc48f1aa100e;hp=cc9622e8cc61d104af78221994a5c28383e7ba13;hb=e261cc8c85d09ce880f45e274f64a67aa6c1f2a7;hpb=71139c04f5d64c33f325fb49ef7af926b93cd348 diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index cc9622e8cc..2bad0db0b2 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -38,10 +38,6 @@ * @file */ -/** - * @defgroup Globalsettings Global settings - */ - /** * @cond file_level_code * This is not a valid entry point, perform no further processing unless @@ -1810,7 +1806,7 @@ $wgDBtype = 'mysql'; /** * Whether to use SSL in DB connection. * - * This setting is only used $wgLBFactoryConf['class'] is set to + * This setting is only used if $wgLBFactoryConf['class'] is set to * 'LBFactorySimple' and $wgDBservers is an empty array; otherwise * the DBO_SSL flag must be set in the 'flags' option of the database * connection to achieve the same functionality. @@ -3685,23 +3681,6 @@ $wgResourceLoaderMaxage = [ */ $wgResourceLoaderDebug = false; -/** - * Put each statement on its own line when minifying JavaScript. This makes - * debugging in non-debug mode a bit easier. - * - * @deprecated since 1.27: Always false; no longer configurable. - */ -$wgResourceLoaderMinifierStatementsOnOwnLine = false; - -/** - * Maximum line length when minifying JavaScript. This is not a hard maximum: - * the minifier will try not to produce lines longer than this, but may be - * forced to do so in certain cases. - * - * @deprecated since 1.27: Always 1,000; no longer configurable. - */ -$wgResourceLoaderMinifierMaxLineLength = 1000; - /** * Whether to ensure the mediawiki.legacy library is loaded before other modules. * @@ -3784,7 +3763,7 @@ $wgResourceLoaderValidateStaticJS = false; * @code * $wgResourceLoaderLESSVars = [ * 'exampleFontSize' => '1em', - * 'exampleBlue' => '#eee', + * 'exampleBlue' => '#36c', * ]; * @endcode * @since 1.22 @@ -4872,6 +4851,7 @@ $wgDefaultUserOptions = [ 'editfont' => 'monospace', 'editondblclick' => 0, 'editsectiononrightclick' => 0, + 'email-allow-new-users' => 1, 'enotifminoredits' => 0, 'enotifrevealaddr' => 0, 'enotifusertalkpages' => 1, @@ -5168,6 +5148,7 @@ $wgGroupPermissions['user']['sendemail'] = true; $wgGroupPermissions['user']['applychangetags'] = true; $wgGroupPermissions['user']['changetags'] = true; $wgGroupPermissions['user']['editcontentmodel'] = true; +$wgGroupPermissions['user']['sendemail-new-users'] = true; // Implicit group for accounts that pass $wgAutoConfirmAge $wgGroupPermissions['autoconfirmed']['autoconfirmed'] = true;