Default not displayed for "Installation-Wide Options" + make switching to default easier
Default not displayed¶
The default is not displayed for all options. In some cases, the default is written in the text, e.g. for [SYS][exceptionalErrors] " Default is 4096 = E_ALL & ...".
The default is available in the DefaultConfiguration.php, so maybe this is easily possible to do to automatically display the default.
Also, because of #90658 the displayed current value does not always reflect the saved state.
Often, the default value is just empty string. But for values with a selection (e.g. cookieSecure, cookieSameSite), how do you know which is the default and how do you switch to the default if you don't know?
- display the default value in a different style
- or display the default, only if the current version is different from default, along with current value, e.g.
[BE][cookieDomain] = mydomain (default: '')
How do you switch to the default?¶
- if you want to change a specific setting to the default, you often can if there is a text field by emptying the text field. But, this is not immediately intuitive.
- Having a button "Set to default" or "Set all values to default" might be helpful