X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=0e98e33b016f9d4c7849d006b878e6cbacea2a45;hb=cfd378774ec1eff28db481e40d33b56d32121020;hp=f34b00aea11ad263eb91704312898ea3d6c2932a;hpb=7dc8a1cced48f58f27676f46a9a18f62c045dc56;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index f34b00aea1..0e98e33b01 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.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. @@ -1101,6 +1085,15 @@ $wgJpegTran = '/usr/bin/jpegtran'; */ $wgJpegPixelFormat = 'yuv420'; +/** + * When scaling a JPEG thumbnail, this is the quality we request + * from the backend. It should be an int between 1 and 100, + * with 100 indicating 100% quality. + * + * @since 1.32 + */ +$wgJpegQuality = 80; + /** * Some tests and extensions use exiv2 to manipulate the Exif metadata in some * image formats. @@ -1580,16 +1573,17 @@ $wgDjvuOutputExtension = 'jpg'; /** * Site admin email address. * - * Defaults to "wikiadmin@$wgServerName". + * Defaults to "wikiadmin@$wgServerName" (in Setup.php). */ $wgEmergencyContact = false; /** * Sender email address for e-mail notifications. * - * The address we use as sender when a user requests a password reminder. + * The address we use as sender when a user requests a password reminder, + * as well as other e-mail notifications. * - * Defaults to "apache@$wgServerName". + * Defaults to "apache@$wgServerName" (in Setup.php). */ $wgPasswordSender = false; @@ -1603,7 +1597,7 @@ $wgPasswordSenderName = 'MediaWiki Mail'; /** * Reply-To address for e-mail notifications. * - * Defaults to $wgPasswordSender. + * Defaults to $wgPasswordSender (in Setup.php). */ $wgNoReplyAddress = false; @@ -1697,8 +1691,15 @@ $wgAdditionalMailParams = null; $wgAllowHTMLEmail = false; /** - * True: from page editor if s/he opted-in. False: Enotif mails appear to come - * from $wgEmergencyContact + * Allow sending of e-mail notifications with the editor's address as sender. + * + * This setting depends on $wgEnotifRevealEditorAddress also being enabled. + * If both are enabled, notifications for actions from users that have opted-in, + * will be sent to other users with their address as "From" instead of "Reply-To". + * + * If disabled, or not opted-in, notifications come from $wgPasswordSender. + * + * @var bool */ $wgEnotifFromEditor = false; @@ -1730,8 +1731,18 @@ $wgEnotifWatchlist = false; $wgEnotifUserTalk = false; /** - * Set the Reply-to address in notifications to the editor's address, if user - * allowed this in the preferences. + * Allow sending of e-mail notifications with the editor's address in "Reply-To". + * + * Note, enabling this only actually uses it in notification e-mails if the user + * opted-in to this feature. This feature flag also controls visibility of the + * 'enotifrevealaddr' preference, which, if users opt into, will make e-mail + * notifications about their actions use their address as "Reply-To". + * + * To set the address as "From" instead of "Reply-To", also enable $wgEnotifFromEditor. + * + * If disabled, or not opted-in, notifications come from $wgPasswordSender. + * + * @var bool */ $wgEnotifRevealEditorAddress = false; @@ -1908,8 +1919,8 @@ $wgSQLiteDataDir = ''; * $wgSharedSchema is the table schema for the shared database. It defaults to * $wgDBmwschema. * - * @deprecated since 1.21 In new code, use the $wiki parameter to wfGetLB() to - * access remote databases. Using wfGetLB() allows the shared database to + * @deprecated since 1.21 In new code, use the $wiki parameter to LBFactory::getMainLB() to + * access remote databases. Using LBFactory::getMainLB() allows the shared database to * reside on separate servers to the wiki's own database, with suitable * configuration of $wgLBFactoryConf. */ @@ -3226,6 +3237,14 @@ $wgHTMLFormAllowTableFormat = true; */ $wgUseMediaWikiUIEverywhere = false; +/** + * Temporary variable that determines whether the EditPage class should use OOjs UI or not. + * This will be removed later and OOjs UI will become the only option. + * + * @since 1.32 + */ +$wgOOUIPreferences = false; + /** * Whether to label the store-to-database-and-show-to-others button in the editor * as "Save page"/"Save changes" if false (the default) or, if true, instead as @@ -3260,11 +3279,6 @@ $wgXhtmlNamespaces = []; */ $wgSiteNotice = ''; -/** - * If this is set, a "donate" link will appear in the sidebar. Set it to a URL. - */ -$wgSiteSupportPage = ''; - /** * Default skin, for new users and anonymous visitors. Registered users may * change this to any one of the other available skins in their preferences. @@ -3366,23 +3380,12 @@ $wgApiFrameOptions = 'DENY'; */ $wgDisableOutputCompression = false; -/** - * Abandoned experiment with HTML5-style ID escaping. Normalized IDs a bit - * too aggressively, breaking preexisting content (particularly Cite). - * See T29733, T29694, T29474. - * - * @deprecated since 1.30, use $wgFragmentMode - */ -$wgExperimentalHtmlIds = false; - /** * How should section IDs be encoded? * This array can contain 1 or 2 elements, each of them can be one of: * - 'html5' is modern HTML5 style encoding with minimal escaping. Displays Unicode * characters in most browsers' address bars. * - 'legacy' is old MediaWiki-style encoding, e.g. 啤酒 turns into .E5.95.A4.E9.85.92 - * - 'html5-legacy' corresponds to DEPRECATED $wgExperimentalHtmlIds mode. DO NOT use - * it for anything but migration off that mode (see below). * * The first element of this array specifies the primary mode of escaping IDs. This * is what users will see when they e.g. follow an [[#internal link]] to a section of @@ -4278,8 +4281,6 @@ $wgAllowImageTag = false; * - RaggettInternalHHVM: Use the limited-functionality HHVM extension * - RaggettInternalPHP: Use the PECL extension * - RaggettExternal: Shell out to an external binary (tidyBin) - * - Html5Depurate: Use external Depurate service - * - Html5Internal: Use the Balancer library in PHP * - RemexHtml: Use the RemexHtml library in PHP * * - tidyConfigFile: Path to configuration file for any of the Raggett drivers @@ -8183,7 +8184,7 @@ $wgAPIUselessQueryPages = [ /** * Enable AJAX framework * - * @deprecated since MediaWiki 1.32 and ignored + * @deprecated (officially) since MediaWiki 1.31 and ignored since 1.32 */ $wgUseAjax = true; @@ -8294,7 +8295,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'; @@ -8875,6 +8876,15 @@ $wgCommentTableSchemaMigrationStage = MIGRATION_OLD; */ $wgActorTableSchemaMigrationStage = MIGRATION_OLD; +/** + * Temporary option to disable the date picker from the Expiry Widget. + * + * @since 1.32 + * @deprecated 1.32 + * @var bool + */ +$wgExpiryWidgetNoDatePicker = false; + /** * For really cool vim folding this needs to be at the end: * vim: foldmarker=@{,@} foldmethod=marker