mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-13 17:57:15 +00:00
0d230e722f
Change-Id: I3508c68272940d21be6a5c9b78ee34c845debc74
100 lines
2.6 KiB
JSON
100 lines
2.6 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",
|
|
"APIQuerySiteInfoGeneralInfo": "MediaWiki\\Linter\\Hooks::onAPIQuerySiteInfoGeneralInfo",
|
|
"InfoAction": "MediaWiki\\Linter\\Hooks::onInfoAction",
|
|
"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
|
|
},
|
|
"deletable-table-tag": {
|
|
"severity": "error",
|
|
"enabled": true
|
|
},
|
|
"misnested-tag": {
|
|
"severity": "warning",
|
|
"enabled": true
|
|
}
|
|
},
|
|
"LinterSubmitterWhitelist": {
|
|
"127.0.0.1": true
|
|
},
|
|
"LinterStatsdSampleFactor": false
|
|
},
|
|
"manifest_version": 1
|
|
}
|