mediawiki-extensions-Linter/extension.json
Kunal Mehta f3778856f2 Add severity for error categories
Categories can now have a severity level of "error" or "warning"
designated, which places them in a different heading on
Special:LintErrors.

Bug: T152822
Change-Id: I1276b9502d90765e88dcb8ea78569dee910c5d88
2016-12-14 17:07:40 -08:00

90 lines
2.3 KiB
JSON

{
"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
}