X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=c892629defc9e9be2c0bf2fc0f975825de6e8ac2;hb=e2a7988178698b4369c7963d20610ee622db3ee7;hp=684e39269984a190ad541bc46d28909c2b196cd9;hpb=dc5fb6e23d9de8d5f0e6824183d5a056905d2a38;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 684e392699..c892629def 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -661,12 +661,6 @@ $wgCacheSharedUploads = true; */ $wgAllowCopyUploads = false; -/** - * Allow asynchronous copy uploads. - * This feature is experimental and broken as of r81612. - */ -$wgAllowAsyncCopyUploads = false; - /** * A list of domains copy uploads can come from * @@ -697,17 +691,6 @@ $wgCopyUploadProxy = false; */ $wgCopyUploadTimeout = false; -/** - * Different timeout for upload by url when run as a background job - * This could be useful since when fetching large files via job queue, - * you may want a different timeout, especially because there is no - * http request being kept alive. - * - * false means fallback to $wgCopyUploadTimeout. - * @since 1.22 - */ -$wgCopyUploadAsyncTimeout = false; - /** * Max size for uploads, in bytes. If not set to an array, applies to all * uploads. If set to an array, per upload type maximums can be set, using the @@ -960,6 +943,12 @@ $wgUseImageMagick = false; */ $wgImageMagickConvertCommand = '/usr/bin/convert'; +/** + * Array of max pixel areas for interlacing per MIME type + * @since 1.27 + */ +$wgMaxInterlacingAreas = array(); + /** * Sharpening parameter to ImageMagick */ @@ -1639,12 +1628,6 @@ $wgEnotifImpersonal = false; */ $wgEnotifMaxRecips = 500; -/** - * Send mails via the job queue. This can be useful to reduce the time it - * takes to save a page that a lot of people are watching. - */ -$wgEnotifUseJobQ = false; - /** * Use real name instead of username in e-mail "from" field. */ @@ -1882,24 +1865,6 @@ $wgDBservers = false; */ $wgLBFactoryConf = array( 'class' => 'LBFactorySimple' ); -/** - * The ID of the current data center - * @since 1.27 - */ -$wgDataCenterId = 'default'; - -/** - * Map of data center IDs to their role ("master" or "slave") - * - * Multiple data centers can be setup to handle MediaWiki, with HTTP - * POSTs routed to the master data center and GET/HEAD/OPTION routed to - * any data center (usually the closest to the end user). In such setups, - * this setting should be set to the appropriate value in the site - * config for each data center. - * @since 1.27 - */ -$wgDataCenterRoles = array( 'default' => 'master' ); - /** * After a state-changing request is done by a client, this determines * how many seconds that client should keep using the master datacenter. @@ -3705,7 +3670,15 @@ $wgResourceLoaderValidateStaticJS = false; * @endcode * @since 1.22 */ -$wgResourceLoaderLESSVars = array(); +$wgResourceLoaderLESSVars = array( + /** + * Minimum available screen width at which a device can be considered a tablet/desktop + * The number is currently based on the device width of a Samsung Galaxy S5 mini and is low + * enough to cover iPad (768px). Number is prone to change with new information. + * @since 1.27 + */ + 'deviceWidthTablet' => '720px', +); /** * Default import paths for LESS modules. LESS files referenced in @import @@ -5419,6 +5392,8 @@ $wgGrantPermissions['highvolume']['markbotedits'] = true; $wgGrantPermissions['editpage']['edit'] = true; $wgGrantPermissions['editpage']['minoredit'] = true; +$wgGrantPermissions['editpage']['applychangetags'] = true; +$wgGrantPermissions['editpage']['changetags'] = true; $wgGrantPermissions['editprotected'] = $wgGrantPermissions['editpage']; $wgGrantPermissions['editprotected']['editprotected'] = true; @@ -5440,6 +5415,7 @@ $wgGrantPermissions['createeditmovepage']['createtalk'] = true; $wgGrantPermissions['createeditmovepage']['move'] = true; $wgGrantPermissions['createeditmovepage']['move-rootuserpages'] = true; $wgGrantPermissions['createeditmovepage']['move-subpages'] = true; +$wgGrantPermissions['createeditmovepage']['move-categorypages'] = true; $wgGrantPermissions['uploadfile']['upload'] = true; $wgGrantPermissions['uploadfile']['reupload-own'] = true; @@ -6905,7 +6881,6 @@ $wgJobClasses = array( 'sendMail' => 'EmaillingJob', 'enotifNotify' => 'EnotifNotifyJob', 'fixDoubleRedirect' => 'DoubleRedirectJob', - 'uploadFromUrl' => 'UploadFromUrlJob', 'AssembleUploadChunks' => 'AssembleUploadChunksJob', 'PublishStashedFile' => 'PublishStashedFileJob', 'ThumbnailRender' => 'ThumbnailRenderJob', @@ -7691,7 +7666,6 @@ $wgHTTPConnectTimeout = 5e0; /************************************************************************//** * @name Job queue - * See also $wgEnotifUseJobQ. * @{ */