mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-12-22 04:43:15 +00:00
3a945d1f66
Icon is updated on both desktop and mobile. A CSS file is converted to a LESS file CSS rules added to tweak icon position See also: I2322194481e4d6b7662c0f075768d5941afa98b8 Bug: T213775 Change-Id: I1f15cd9ac4b78d7f6e24b93af0fcfb809f00e563
64 lines
1.5 KiB
JSON
64 lines
1.5 KiB
JSON
{
|
|
"name": "FancyCaptcha",
|
|
"author": [
|
|
"Brion Vibber",
|
|
"..."
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Extension:ConfirmEdit#FancyCaptcha",
|
|
"descriptionmsg": "fancycaptcha-desc",
|
|
"license-name": "GPL-2.0-or-later",
|
|
"type": "antispam",
|
|
"APIModules": {
|
|
"fancycaptchareload": "ApiFancyCaptchaReload"
|
|
},
|
|
"MessagesDirs": {
|
|
"FancyCaptcha": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"AutoloadClasses": {
|
|
"FancyCaptcha": "includes/FancyCaptcha.php",
|
|
"HTMLFancyCaptchaField": "includes/HTMLFancyCaptchaField.php",
|
|
"ApiFancyCaptchaReload": "includes/ApiFancyCaptchaReload.php"
|
|
},
|
|
"ResourceModules": {
|
|
"ext.confirmEdit.fancyCaptcha.styles": {
|
|
"styles": "ext.confirmEdit.fancyCaptcha.less",
|
|
"targets": [
|
|
"mobile",
|
|
"desktop"
|
|
]
|
|
},
|
|
"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
|
|
},
|
|
"manifest_version": 1
|
|
}
|