mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-23 13:56:44 +00:00
extension.json: set default user option for usecodemirror-colorblind
This preference doesn't have a default value, meaning any and all values are saved when it should only save if it doesn't match the default. This causes bloat to the user_properties table (see T286270 for the same situation that happened with the 'usecodemirror' preference). This patch sets a default value so that only values different than it are stored. Bug: T286270 Change-Id: Ie9fc1f4265a6f6df2bc2cc4e99ad4294a76e2769
This commit is contained in:
parent
a1415b27ac
commit
5d6d0ba56a
|
@ -333,7 +333,8 @@
|
|||
},
|
||||
"ForeignResourcesDir": "resources/lib",
|
||||
"DefaultUserOptions": {
|
||||
"usecodemirror": 0
|
||||
"usecodemirror": 0,
|
||||
"usecodemirror-colorblind": 0
|
||||
},
|
||||
"QUnitTestModule": {
|
||||
"localBasePath": "resources/legacy/mode/mediawiki/tests",
|
||||
|
|
Loading…
Reference in a new issue