Page MenuHomePhabricator

Migrate ceAllowConfirmedEmail to wgAllowConfirmedEmail and remove prefixes from keys
Closed, ResolvedPublic

Description

ConfirmEdit has one ce prefixed config variable, the rest are wg

The ce one should be migrated (leaving a back compat hook in place), and the prefix removed from the lot

	"config": {
		"_prefix": "",
		"wgCaptchaWhitelistIP": false,
		"wgCaptcha": null,
		"wgCaptchaClass": "SimpleCaptcha",
		"wgCaptchaTriggers": {
			"edit": false,
			"create": false,
			"sendemail": false,
			"addurl": true,
			"createaccount": true,
			"badlogin": true,
			"badloginperuser": true,
			"_merge_strategy": "array_plus"
		},
		"wgCaptchaTriggersOnNamespace": {
			"_merge_strategy": "array_plus_2d"
		},
		"wgCaptchaStorageClass": "CaptchaSessionStore",
		"wgCaptchaSessionExpiration": 1800,
		"wgCaptchaBadLoginExpiration": 300,
		"wgCaptchaBadLoginPerUserExpiration": 600,
		"ceAllowConfirmedEmail": false,
		"wgCaptchaBadLoginAttempts": 3,
		"wgCaptchaBadLoginPerUserAttempts": 20,
		"wgCaptchaWhitelist": false,
		"wgCaptchaRegexes": []
	},