X-Git-Url: http://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=a855d92956d86211db37bd5e70dc549977bad366;hp=a0f849e43a77e70265ca7ddb6eeeb5cd1bfedde2;hb=5951e3e30351dbef4afaceccad415b7702d49bc0;hpb=c23c2b1c53824311bed3987d07bc0653aee6450e diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index a0f849e43a..a855d92956 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -71,7 +71,7 @@ $wgConfigRegistry = [ * MediaWiki version number * @since 1.2 */ -$wgVersion = '1.31.0-alpha'; +$wgVersion = '1.31.2'; /** * Name of the site. It must be changed in LocalSettings.php @@ -157,19 +157,6 @@ $wgUsePathInfo = ( strpos( PHP_SAPI, 'cgi' ) === false ) && ( strpos( PHP_SAPI, 'apache2filter' ) === false ) && ( strpos( PHP_SAPI, 'isapi' ) === false ); -/** - * The extension to append to script names by default. - * - * Some hosting providers used PHP 4 for *.php files, and PHP 5 for *.php5. - * This variable was provided to support those providers. - * - * @since 1.11 - * @deprecated since 1.25; support for '.php5' has been phased out of MediaWiki - * proper. Backward-compatibility can be maintained by configuring your web - * server to rewrite URLs. See RELEASE-NOTES for details. - */ -$wgScriptExtension = '.php'; - /**@}*/ /************************************************************************//** @@ -503,9 +490,6 @@ $wgImgAuthUrlPathMap = []; * - descBaseUrl URL of image description pages, e.g. https://en.wikipedia.org/wiki/File: * - scriptDirUrl URL of the MediaWiki installation, equivalent to $wgScriptPath, e.g. * https://en.wikipedia.org/w - * - scriptExtension Script extension of the MediaWiki installation, equivalent to - * $wgScriptExtension, e.g. ".php5". Defaults to ".php". - * * - articleUrl Equivalent to $wgArticlePath, e.g. https://en.wikipedia.org/wiki/$1 * - fetchDescription Fetch the text of the remote file description page. Equivalent to * $wgFetchCommonsDescriptions. @@ -2048,6 +2032,8 @@ $wgDBerrorLogTZ = false; * Even correct usage may cause failures with Unicode supplementary * characters (those not in the Basic Multilingual Plane) unless MySQL * has enhanced their Unicode support. + * + * @deprecated since 1.31 */ $wgDBmysql5 = false; @@ -5668,6 +5654,7 @@ $wgRateLimits = [ 'edit' => [ 'ip' => [ 8, 60 ], 'newbie' => [ 8, 60 ], + 'user' => [ 90, 60 ], ], // Page moves 'move' => [ @@ -5694,6 +5681,10 @@ $wgRateLimits = [ 'newbie' => [ 5, 86400 ], 'user' => [ 20, 86400 ], ], + 'changeemail' => [ + 'ip-all' => [ 10, 3600 ], + 'user' => [ 4, 86400 ] + ], // Purging pages 'purge' => [ 'ip' => [ 30, 60 ], @@ -6862,14 +6853,6 @@ $wgUseNPPatrol = true; */ $wgUseFilePatrol = true; -/** - * Log autopatrol actions to the log table - * The default used to be true before 1.31 - * - * @since 1.22 - */ -$wgLogAutopatrol = false; - /** * Provide syndication feeds (RSS, Atom) for, e.g., Recentchanges, Newpages */ @@ -8149,6 +8132,8 @@ $wgAPIUselessQueryPages = [ /** * Enable AJAX framework + * + * @deprecated (officially) since MediaWiki 1.31 */ $wgUseAjax = true; @@ -8259,7 +8244,7 @@ $wgMaxShellWallClockTime = 180; $wgShellCgroup = false; /** - * Executable path of the PHP cli binary (php/php5). Should be set up on install. + * Executable path of the PHP cli binary. Should be set up on install. */ $wgPhpCli = '/usr/bin/php';