summaryrefslogtreecommitdiff
path: root/extensions/ConfirmEdit/FancyCaptcha/extension.json
blob: 11b877be850484ae739dcf3a1709e04b0c9a7cc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
	"name": "FancyCaptcha",
	"APIModules": {
		"fancycaptchareload": "ApiFancyCaptchaReload"
	},
	"MessagesDirs": {
		"FancyCaptcha": [
			"i18n"
		]
	},
	"AutoloadClasses": {
		"FancyCaptcha": "FancyCaptcha.class.php",
		"ApiFancyCaptchaReload": "ApiFancyCaptchaReload.php"
	},
	"ResourceModules": {
		"ext.confirmEdit.fancyCaptcha.styles": {
			"position": "top",
			"targets": [
				"mobile",
				"desktop"
			],
			"styles": "ext.confirmEdit.fancyCaptcha.css"
		},
		"ext.confirmEdit.fancyCaptcha": {
			"scripts": "ext.confirmEdit.fancyCaptcha.js",
			"dependencies": "mediawiki.api"
		},
		"ext.confirmEdit.fancyCaptchaMobile": {
			"scripts": "ext.confirmEdit.fancyCaptcha.js",
			"targets": [
				"mobile",
				"desktop"
			],
			"dependencies": "mobile.startup"
		}
	},
	"ResourceFileModulePaths": {
		"localBasePath": "resources",
		"remoteExtPath": "ConfirmEdit/FancyCaptcha/resources"
	},
	"callback": [
		"ConfirmEditHooks::onFancyCaptchaSetup"
	],
	"config": {
		"CaptchaClass": "FancyCaptcha",
		"CaptchaFileBackend": "",
		"CaptchaDirectory": false,
		"CaptchaDirectoryLevels": 0,
		"CaptchaSecret": "CHANGE_THIS_SECRET!",
		"CaptchaDeleteOnSolve": false
	}
}