mediawiki-extensions-Linter/extension.json

90 lines
2.3 KiB
JSON
Raw Normal View History

{
"name": "Linter",
"license-name": "GPL-2.0+",
"url": "https://www.mediawiki.org/wiki/Extension:Linter",
"author": [
"Kunal Mehta"
],
"descriptionmsg": "linter-desc",
"type": "specialpage",
"AutoloadClasses": {
"MediaWiki\\Linter\\CategoryManager": "includes/CategoryManager.php",
"MediaWiki\\Linter\\Hooks": "includes/Hooks.php",
"MediaWiki\\Linter\\Database": "includes/Database.php",
"MediaWiki\\Linter\\LintError": "includes/LintError.php",
"MediaWiki\\Linter\\ApiRecordLint": "includes/ApiRecordLint.php",
"MediaWiki\\Linter\\ApiQueryLintErrors": "includes/ApiQueryLintErrors.php",
"MediaWiki\\Linter\\RecordLintJob": "includes/RecordLintJob.php",
"MediaWiki\\Linter\\SpecialLintErrors": "includes/SpecialLintErrors.php",
"MediaWiki\\Linter\\LintErrorsPager": "includes/LintErrorsPager.php"
},
"MessagesDirs": {
"Linter": "i18n"
},
"ExtensionMessagesFiles": {
"LinterAlias": "Linter.alias.php"
},
"Hooks": {
"LoadExtensionSchemaUpdates": "MediaWiki\\Linter\\Hooks::onLoadExtensionSchemaUpdates",
"EditFormInitialText": "MediaWiki\\Linter\\Hooks::onEditFormInitialText",
"WikiPageDeletionUpdates": "MediaWiki\\Linter\\Hooks::onWikiPageDeletionUpdates"
},
"APIModules": {
"record-lint": "MediaWiki\\Linter\\ApiRecordLint"
},
"APIListModules": {
"linterrors": "MediaWiki\\Linter\\ApiQueryLintErrors"
},
"SpecialPages": {
"LintErrors": "MediaWiki\\Linter\\SpecialLintErrors"
},
"JobClasses": {
"RecordLintJob": "MediaWiki\\Linter\\RecordLintJob"
},
"ResourceModules": {
"ext.linter.edit": {
"scripts": "ext.linter.edit.js",
"dependencies": [
"jquery.textSelection"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "modules",
"remoteExtPath": "Linter/modules"
},
"config": {
"LinterCategories": {
"fostered": {
"severity": "error",
"enabled": true
},
"obsolete-tag": {
"severity": "warning",
"enabled": true
},
"bogus-image-options": {
"severity": "error",
"enabled": true
},
"missing-end-tag": {
"severity": "error",
"enabled": true
},
"stripped-tag": {
"severity": "error",
"enabled": true
},
"self-closed-tag": {
"severity": "warning",
"enabled": true
}
},
"LinterSubmitterWhitelist": {
"127.0.0.1": true
},
"LinterStatsdSampleFactor": false
},
"manifest_version": 1
}