mediawiki-extensions-Linter/extension.json
Kunal Mehta 35a2ba9a6c Add API meta=linterstats module
This module just exposes the number of lint errors in each category for
tools that want to collect statistics and stuff. It's currently under a
'totals' key to give us more flexibility if we want to add other
information in the future.

Change-Id: Iad5136a6a5989ce5bcb1a00a4f82f49a397e0170
2017-06-06 10:02:49 -07:00

109 lines
2.9 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\\ApiQueryLinterStats": "includes/ApiQueryLinterStats.php",
"MediaWiki\\Linter\\RecordLintJob": "includes/RecordLintJob.php",
"MediaWiki\\Linter\\SpecialLintErrors": "includes/SpecialLintErrors.php",
"MediaWiki\\Linter\\LintErrorsPager": "includes/LintErrorsPager.php",
"MediaWiki\\Linter\\TotalsLookup": "includes/TotalsLookup.php"
},
"MessagesDirs": {
"Linter": "i18n"
},
"ExtensionMessagesFiles": {
"LinterAlias": "Linter.alias.php"
},
"Hooks": {
"LoadExtensionSchemaUpdates": "MediaWiki\\Linter\\Hooks::onLoadExtensionSchemaUpdates",
"BeforePageDisplay": "MediaWiki\\Linter\\Hooks::onBeforePageDisplay",
"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"
},
"APIMetaModules": {
"linterstats": "MediaWiki\\Linter\\ApiQueryLinterStats"
},
"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": {
"enabled": true,
"priority": "medium"
},
"obsolete-tag": {
"enabled": true,
"priority": "low"
},
"bogus-image-options": {
"enabled": true,
"priority": "medium"
},
"missing-end-tag": {
"enabled": true,
"priority": "low"
},
"stripped-tag": {
"enabled": true,
"priority": "low"
},
"self-closed-tag": {
"enabled": true,
"priority": "high"
},
"deletable-table-tag": {
"enabled": true,
"priority": "high"
},
"misnested-tag": {
"enabled": true,
"priority": "medium"
},
"pwrap-bug-workaround": {
"enabled": true,
"priority": "high"
}
},
"LinterSubmitterWhitelist": {
"127.0.0.1": true
},
"LinterStatsdSampleFactor": false
},
"manifest_version": 1
}