Platform/PrefsOverhaul: Difference between revisions

Line 114: Line 114:


Benefits
Benefits
* Less code to define and setup each pref.
* More info about these prefs is in a single place, rather than two or more places; avoids error-prone duplication of prefnames and default values.
* More info about these prefs is in a single place, rather than two or more places; avoids error-prone duplication of prefnames and default values.
* Prevent direct modification of VarCache prefs, which leads to consistency problems (e.g. {{bug|1438433}}).
* Prevent direct modification of VarCache prefs, which leads to consistency problems (e.g. {{bug|1438433}}).
Confirmed users
1,345

edits