summaryrefslogtreecommitdiff
path: root/extensions/ConfirmEdit/FancyCaptcha/extension.json
blob: f4ba4e5f337833210b7505abd1389a3fc3d6a874 (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
{
	"name": "FancyCaptcha",
	"APIModules": {
		"fancycaptchareload": "ApiFancyCaptchaReload"
	},
	"MessagesDirs": {
		"FancyCaptcha": [
			"i18n"
		]
	},
	"AutoloadClasses": {
		"FancyCaptcha": "FancyCaptcha.class.php",
		"ApiFancyCaptchaReload": "ApiFancyCaptchaReload.php"
	},
	"ResourceModules": {
		"ext.confirmEdit.fancyCaptcha.styles": {
			"position": "top",
			"styles": "ext.confirmEdit.fancyCaptcha.css"
		},
		"ext.confirmEdit.fancyCaptcha": {
			"scripts": "ext.confirmEdit.fancyCaptcha.js",
			"dependencies": "mediawiki.api",
			"targets": [
				"mobile",
				"desktop"
			]
		},
		"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
	}
}