X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=docs%2Fdistributors.txt;h=f2af4589372c34db9c26c1081ad5c97030c4feae;hp=758111009f3fdd40f441e856686656cad4d0abe2;hb=93d9da40d3153ee8f63ffbd7bc72f08d62e11efd;hpb=0c2687f44eb0e8c7f480b7303f89056682ba0bfb diff --git a/docs/distributors.txt b/docs/distributors.txt index 758111009f..f2af458937 100644 --- a/docs/distributors.txt +++ b/docs/distributors.txt @@ -87,10 +87,15 @@ which the user can edit by hand thereafter. It's just a plain old PHP file, and can contain any PHP statements. It usually sets global variables that are used for configuration, and includes files used by any extensions. -Distributors can easily change the installer behavior, including LocalSettings -generated, by placing their overrides into mw-config/overrides directory. Doing -that is highly preferred to modifying MediaWiki code directly. See -mw-config/overrides/README for more details and examples. +Distributors can easily change the default settings by creating +includes/PlatformSettings.php with overrides/additions to the default settings. +The installer will automatically include the platform defaults when generating +the user's LocalSettings.php file. + +Furthermore, distributors can change the installer behavior, by placing their +overrides into mw-config/overrides directory. Doing that is highly preferred +to modifying MediaWiki code directly. See mw-config/overrides/README for more +details and examples. There's a new maintenance/install.php script which could be used for performing an install through the command line. @@ -169,8 +174,6 @@ perhaps configure it to use them (see Configuration section of this document): "$wgAntivirus = 'clamav';". * DjVuLibre: Allows processing of DjVu files. To enable this, set "$wgDjvuDump = 'djvudump'; $wgDjvuRenderer = 'ddjvu'; $wgDjvuTxt = 'djvutxt';". - * HTML Tidy: Fixes errors in HTML at runtime. Can be enabled with - "$wgUseTidy = true;". * ImageMagick: For resizing images. "$wgUseImageMagick = true;" will enable it. PHP's GD can also be used, but ImageMagick is preferable. * HTTP cache such as Varnish or Squid: can provide a drastic speedup and a