installer: Add support for PlatformSettings.php
authorKunal Mehta <legoktm@member.fsf.org>
Mon, 2 Apr 2018 22:27:18 +0000 (15:27 -0700)
committerKrinkle <krinklemail@gmail.com>
Tue, 10 Apr 2018 02:51:02 +0000 (02:51 +0000)
commit50212e6d0ef2cdcc63aece18c8d77c9c251be7ed
treeb8fa1e4597ac5365a8bab81d36396697bcc9d0f5
parentb33bc40e4026ba286569ab1b5baf609844f34a50
installer: Add support for PlatformSettings.php

PlatformSettings.php is a standardized and recommended way for
re-distributors and packagers of MediaWiki to be able to tune
DefaultSettings.php as appropriate.

If includes/PlatformSettings.php exists, the installer will
automatically include it as part of the generated LocalSettings.php.

The main advantage of this system is that if the distributor wants to
change the default settings, all users will benefit immediately. And if
people want a vanilla MediaWiki experience, they can just remove the
inclusion from their LocalSettings.php.

This RfC
(<https://www.mediawiki.org/wiki/Requests_for_comment/PlatformSettings.php>)
was approved by TechCom.

Bug: T182020
Change-Id: I34f9a4acbe86b9c5c80ac16451b317ce5f6640f9
docs/distributors.txt
includes/installer/LocalSettingsGenerator.php