X-Git-Url: http://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=2dad6c537be6477b8679cf2efc76eb4a82ba7251;hp=c000098302e1943822839c43702d0ef552b8a942;hb=362a962c8db517f435843af45f0747ead6878252;hpb=5211d2ab6839b47df5ac5278844c6d068e4640d9 diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index c000098302..2dad6c537b 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.0-rc.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. @@ -3265,12 +3249,6 @@ $wgSiteNotice = ''; */ $wgSiteSupportPage = ''; -/** - * Validate the overall output using tidy and refuse - * to display the page if it's not valid. - */ -$wgValidateAllHtml = false; - /** * Default skin, for new users and anonymous visitors. Registered users may * change this to any one of the other available skins in their preferences. @@ -4270,8 +4248,9 @@ $wgAllowImageTag = false; /** * Configuration for HTML postprocessing tool. Set this to a configuration - * array to enable an external tool. Dave Raggett's "HTML Tidy" is typically - * used. See https://www.w3.org/People/Raggett/tidy/ + * array to enable an external tool. By default, we now use the RemexHtml + * library; historically, Dave Raggett's "HTML Tidy" was typically used. + * See https://www.w3.org/People/Raggett/tidy/ * * If this is null and $wgUseTidy is true, the deprecated configuration * parameters will be used instead. @@ -4292,7 +4271,7 @@ $wgAllowImageTag = false; * - tidyBin: For RaggettExternal, the path to the tidy binary. * - tidyCommandLine: For RaggettExternal, additional command line options. */ -$wgTidyConfig = null; +$wgTidyConfig = [ 'driver' => 'RemexHtml' ]; /** * Set this to true to use the deprecated tidy configuration parameters. @@ -5673,6 +5652,7 @@ $wgRateLimits = [ 'edit' => [ 'ip' => [ 8, 60 ], 'newbie' => [ 8, 60 ], + 'user' => [ 90, 60 ], ], // Page moves 'move' => [ @@ -6867,14 +6847,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 */ @@ -8154,6 +8126,8 @@ $wgAPIUselessQueryPages = [ /** * Enable AJAX framework + * + * @deprecated (officially) since MediaWiki 1.31 */ $wgUseAjax = true; @@ -8264,7 +8238,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';