-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add default value of parameters to parameter description in config.sample.php and the documentation #3069
Comments
@nickvergessen I could try to add this information to the
|
Me
should be 80 chars
You mean one parameter with 2 different default values? Please create an issue for each of them
Just point them out, I will then comment on them
Just ask if you find such cases |
@nickvergessen Should I open an issue ticket for variables that are using
|
Hmm looking at a couple of issues, it seems that default doesn't really have to be the same value. E.g. the |
As far as I understood |
Fixed in #3133 |
Expected behavior
For all configuration parameters in
config.sample.php
and in the documentation an information should be available what the default value of a parameter is. This would allow an administrator to reduce the size of a configuration file to a minimum because only parameters would need to be set which differ from a default value.The easiest way to recognize a default value is, by listing it at the end of a parameter description, prefixed by e.g. the wording Default to ....
Current behavior
In several posting on GitHub and on the Internet I read that someone asked "Why have you added this and that parameter to the configuration, it is the default value?" The reason seems to be, that information is missing for most of the listed parameters in
config.sample.php
and in the documentation, what the default value of a parameter is.Negative example:
Positive example:
Steps to reproduce
config.sample.php
and the documentation.Environment
Server Configuration
OS: Linux 3.2.82
Web server: Apache2 2.4.25
Database: MariaDB 5.5.53
PHP version: 5.6.29
Nextcloud version: 10.0.2
Client Configuration
Browser: Mozilla Firefox 50.1.0
Operating system: Windows 7
The text was updated successfully, but these errors were encountered: