X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=5ab557eb8a868a395812503a0345b3166409da4f;hb=76c1fd5473a613449eff28e925362c92f95d4bdd;hp=8080774ffb55091383efa8b67f4e172eaf2132ca;hpb=887fb377d9df8768d98ed4d7e215f9ce0e538499;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 8080774ffb..5ab557eb8a 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -257,6 +257,23 @@ $wgFileCacheDirectory = false; */ $wgLogo = false; +/** + * Array with URL paths to HD versions of the wiki logo. The scaled logo size + * should be under 135x155 pixels. + * Only 1.5x and 2x versions are supported. + * + * @par Example: + * @code + * $wgLogoHD = array( + * "1.5x" => "path/to/1.5x_version.png", + * "2x" => "path/to/2x_version.png" + * ); + * @endcode + * + * @since 1.25 + */ +$wgLogoHD = false; + /** * The URL path of the shortcut icon. * @since 1.6 @@ -3788,7 +3805,7 @@ $wgInterwikiFallbackSite = 'wiki'; */ /** - * Specify the file location for the SiteStore json cache file. + * Specify the file location for the Sites json cache file. */ $wgSitesCacheFile = false; @@ -4846,7 +4863,6 @@ $wgAutopromote = array( * @endcode * Where event is either: * - 'onEdit' (when user edits) - * - 'onView' (when user views the wiki) * * Criteria has the same format as $wgAutopromote * @@ -4855,7 +4871,6 @@ $wgAutopromote = array( */ $wgAutopromoteOnce = array( 'onEdit' => array(), - 'onView' => array() ); /** @@ -5303,6 +5318,11 @@ $wgDebugLogGroups = array(); * inject an MWLoggerSpi instance into MWLoggerFactory and bypass the use of * this configuration variable entirely. * + * @par To completely disable logging: + * @code + * $wgMWLoggerDefaultSpi = array( 'class' => 'MWLoggerNullSpi' ); + * @endcode + * * @since 1.25 * @var array $wgMWLoggerDefaultSpi * @see MwLogger @@ -6672,8 +6692,6 @@ $wgLogActions = array( 'protect/modify' => 'modifiedarticleprotection', 'protect/unprotect' => 'unprotectedarticle', 'protect/move_prot' => 'movedarticleprotection', - 'import/upload' => 'import-logentry-upload', - 'import/interwiki' => 'import-logentry-interwiki', ); /** @@ -6708,6 +6726,8 @@ $wgLogActionsHandlers = array( 'block/reblock' => 'BlockLogFormatter', 'suppress/block' => 'BlockLogFormatter', 'suppress/reblock' => 'BlockLogFormatter', + 'import/upload' => 'LogFormatter', + 'import/interwiki' => 'LogFormatter', ); /** @@ -7420,6 +7440,34 @@ $wgPageLanguageUseDB = false; */ $wgUseLinkNamespaceDBFields = true; +/** + * Global configuration variable for Virtual REST Services. + * Parameters for different services are to be declared inside + * $wgVirtualRestConfig['modules'], which is to be treated as an associative + * array. Global parameters will be merged with service-specific ones. The + * result will then be passed to VirtualRESTService::__construct() in the + * module. + * + * Example config for Parsoid: + * + * $wgVirtualRestConfig['modules']['parsoid'] = array( + * 'url' => 'http://localhost:8000', + * 'prefix' => 'enwiki', + * ); + * + * @var array + * @since 1.25 + */ +$wgVirtualRestConfig = array( + 'modules' => array(), + 'global' => array( + # Timeout in seconds + 'timeout' => 360, + 'forwardCookies' => false, + 'HTTPProxy' => null + ) +); + /** * For really cool vim folding this needs to be at the end: * vim: foldmarker=@{,@} foldmethod=marker