X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=25be60c97541d101ec3d9fe5693fc7fcc442d4d4;hb=795412ccafce227446a0237db359ef84205430bf;hp=3cd7ef181ab3ca8a393101de024722ba924bfb31;hpb=e0ff77f13034b33aa2c9a7d7b366772b204e5561;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 3cd7ef181a..25be60c975 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -2554,6 +2554,8 @@ $wgGitInfoCacheDirectory = false; * It should be appended in the query string of static CSS and JS includes, * to ensure that client-side caches do not keep obsolete copies of global * styles. + * + * @deprecated since 1.31 */ $wgStyleVersion = '303'; @@ -4881,7 +4883,6 @@ $wgDefaultUserOptions = [ 'hidepatrolled' => 0, 'hidecategorization' => 1, 'imagesize' => 2, - 'math' => 1, 'minordefault' => 0, 'newpageshidepatrolled' => 0, 'nickname' => '', @@ -8270,6 +8271,22 @@ $wgPhpCli = '/usr/bin/php'; */ $wgShellLocale = 'C.UTF-8'; +/** + * Method to use to restrict shell commands + * + * Supported options: + * - 'autodetect': Autodetect if any restriction methods are available + * - 'firejail': Use firejail + * - false: Don't use any restrictions + * + * @note If using firejail with MediaWiki running in a home directory different + * from the webserver user, firejail 0.9.44+ is required. + * + * @since 1.31 + * @var string|bool + */ +$wgShellRestrictionMethod = false; + /** @} */ # End shell } /************************************************************************//**