2016-10-13 08:14:18 +00:00
|
|
|
{
|
|
|
|
"name": "Linter",
|
2018-01-04 01:26:40 +00:00
|
|
|
"license-name": "GPL-2.0-or-later",
|
2016-10-13 08:14:18 +00:00
|
|
|
"url": "https://www.mediawiki.org/wiki/Extension:Linter",
|
|
|
|
"author": [
|
2017-06-20 21:21:46 +00:00
|
|
|
"Kunal Mehta",
|
|
|
|
"Arlo Breault",
|
|
|
|
"Subramanya Sastry"
|
2016-10-13 08:14:18 +00:00
|
|
|
],
|
|
|
|
"descriptionmsg": "linter-desc",
|
|
|
|
"type": "specialpage",
|
2017-12-31 13:05:31 +00:00
|
|
|
"requires": {
|
2024-01-06 16:03:30 +00:00
|
|
|
"MediaWiki": ">= 1.42"
|
2017-12-31 13:05:31 +00:00
|
|
|
},
|
2017-12-12 01:20:02 +00:00
|
|
|
"AutoloadNamespaces": {
|
|
|
|
"MediaWiki\\Linter\\": "includes/"
|
2016-10-13 08:14:18 +00:00
|
|
|
},
|
|
|
|
"MessagesDirs": {
|
2019-07-04 12:37:15 +00:00
|
|
|
"Linter": [
|
|
|
|
"i18n",
|
|
|
|
"i18n/api"
|
|
|
|
]
|
2016-10-13 08:14:18 +00:00
|
|
|
},
|
2016-12-02 15:55:13 +00:00
|
|
|
"ExtensionMessagesFiles": {
|
|
|
|
"LinterAlias": "Linter.alias.php"
|
|
|
|
},
|
2022-09-07 01:54:33 +00:00
|
|
|
"HookHandlers": {
|
|
|
|
"main": {
|
2023-02-07 01:27:16 +00:00
|
|
|
"class": "MediaWiki\\Linter\\Hooks",
|
|
|
|
"services": [
|
|
|
|
"LinkRenderer"
|
|
|
|
]
|
2023-02-07 01:35:45 +00:00
|
|
|
},
|
|
|
|
"schema": {
|
|
|
|
"class": "MediaWiki\\Linter\\SchemaHooks"
|
2022-09-07 01:54:33 +00:00
|
|
|
}
|
|
|
|
},
|
2016-10-13 08:14:18 +00:00
|
|
|
"Hooks": {
|
2023-02-07 01:35:45 +00:00
|
|
|
"LoadExtensionSchemaUpdates": "schema",
|
2022-09-07 01:54:33 +00:00
|
|
|
"BeforePageDisplay": "main",
|
|
|
|
"APIQuerySiteInfoGeneralInfo": "main",
|
|
|
|
"InfoAction": "main",
|
|
|
|
"WikiPageDeletionUpdates": "main",
|
|
|
|
"RevisionFromEditComplete": "main",
|
|
|
|
"ParserLogLinterData": "main"
|
2016-10-13 08:14:18 +00:00
|
|
|
},
|
|
|
|
"APIListModules": {
|
|
|
|
"linterrors": "MediaWiki\\Linter\\ApiQueryLintErrors"
|
|
|
|
},
|
2017-05-29 15:04:57 +00:00
|
|
|
"APIMetaModules": {
|
|
|
|
"linterstats": "MediaWiki\\Linter\\ApiQueryLinterStats"
|
|
|
|
},
|
2016-10-13 08:14:18 +00:00
|
|
|
"SpecialPages": {
|
2024-04-04 21:41:29 +00:00
|
|
|
"LintErrors": {
|
|
|
|
"class": "MediaWiki\\Linter\\SpecialLintErrors",
|
|
|
|
"services": [
|
|
|
|
"MainWANObjectCache",
|
|
|
|
"NamespaceInfo",
|
|
|
|
"TitleParser"
|
|
|
|
]
|
|
|
|
}
|
2016-10-13 08:14:18 +00:00
|
|
|
},
|
2016-11-15 19:31:45 +00:00
|
|
|
"JobClasses": {
|
|
|
|
"RecordLintJob": "MediaWiki\\Linter\\RecordLintJob"
|
|
|
|
},
|
2016-10-13 08:14:18 +00:00
|
|
|
"ResourceModules": {
|
|
|
|
"ext.linter.edit": {
|
|
|
|
"scripts": "ext.linter.edit.js",
|
|
|
|
"dependencies": [
|
|
|
|
"jquery.textSelection"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"ResourceFileModulePaths": {
|
|
|
|
"localBasePath": "modules",
|
|
|
|
"remoteExtPath": "Linter/modules"
|
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"LinterCategories": {
|
2020-05-12 00:53:32 +00:00
|
|
|
"value": {
|
|
|
|
"fostered": {
|
|
|
|
"dbid": 1,
|
|
|
|
"enabled": true,
|
2021-12-14 15:11:28 +00:00
|
|
|
"priority": "medium",
|
|
|
|
"no-params": true
|
2020-05-12 00:53:32 +00:00
|
|
|
},
|
|
|
|
"obsolete-tag": {
|
|
|
|
"dbid": 2,
|
|
|
|
"enabled": true,
|
|
|
|
"priority": "low",
|
|
|
|
"has-name": true
|
|
|
|
},
|
|
|
|
"bogus-image-options": {
|
|
|
|
"dbid": 3,
|
|
|
|
"enabled": true,
|
|
|
|
"priority": "medium"
|
|
|
|
},
|
|
|
|
"missing-end-tag": {
|
|
|
|
"dbid": 4,
|
|
|
|
"enabled": true,
|
|
|
|
"priority": "low",
|
|
|
|
"has-name": true
|
|
|
|
},
|
|
|
|
"stripped-tag": {
|
|
|
|
"dbid": 5,
|
|
|
|
"enabled": true,
|
|
|
|
"priority": "low",
|
|
|
|
"has-name": true
|
|
|
|
},
|
|
|
|
"self-closed-tag": {
|
|
|
|
"dbid": 6,
|
|
|
|
"enabled": true,
|
|
|
|
"priority": "high",
|
2023-10-13 16:23:23 +00:00
|
|
|
"has-name": true
|
2020-05-12 00:53:32 +00:00
|
|
|
},
|
|
|
|
"deletable-table-tag": {
|
|
|
|
"dbid": 7,
|
|
|
|
"enabled": true,
|
|
|
|
"priority": "high",
|
2023-10-13 16:23:23 +00:00
|
|
|
"has-name": true
|
2020-05-12 00:53:32 +00:00
|
|
|
},
|
|
|
|
"misnested-tag": {
|
|
|
|
"dbid": 8,
|
|
|
|
"enabled": true,
|
|
|
|
"priority": "medium",
|
|
|
|
"has-name": true
|
|
|
|
},
|
|
|
|
"pwrap-bug-workaround": {
|
|
|
|
"dbid": 9,
|
|
|
|
"enabled": true,
|
2023-10-13 16:23:23 +00:00
|
|
|
"priority": "high"
|
2020-05-12 00:53:32 +00:00
|
|
|
},
|
|
|
|
"tidy-whitespace-bug": {
|
|
|
|
"dbid": 10,
|
|
|
|
"enabled": true,
|
2023-10-13 16:23:23 +00:00
|
|
|
"priority": "high"
|
2020-05-12 00:53:32 +00:00
|
|
|
},
|
|
|
|
"multi-colon-escape": {
|
|
|
|
"dbid": 11,
|
|
|
|
"enabled": true,
|
|
|
|
"priority": "medium"
|
|
|
|
},
|
|
|
|
"html5-misnesting": {
|
|
|
|
"dbid": 12,
|
|
|
|
"enabled": true,
|
|
|
|
"priority": "high",
|
2023-10-13 16:23:23 +00:00
|
|
|
"has-name": true
|
2020-05-12 00:53:32 +00:00
|
|
|
},
|
|
|
|
"tidy-font-bug": {
|
|
|
|
"dbid": 13,
|
|
|
|
"enabled": true,
|
|
|
|
"priority": "high",
|
2023-10-13 16:23:23 +00:00
|
|
|
"has-name": true
|
2020-05-12 00:53:32 +00:00
|
|
|
},
|
|
|
|
"multiple-unclosed-formatting-tags": {
|
|
|
|
"dbid": 14,
|
|
|
|
"enabled": true,
|
|
|
|
"priority": "high",
|
2023-10-13 16:23:23 +00:00
|
|
|
"has-name": true
|
2020-05-12 00:53:32 +00:00
|
|
|
},
|
|
|
|
"unclosed-quotes-in-heading": {
|
|
|
|
"dbid": 15,
|
|
|
|
"enabled": true,
|
|
|
|
"priority": "high",
|
2023-10-13 16:23:23 +00:00
|
|
|
"has-name": true
|
2020-05-12 00:53:32 +00:00
|
|
|
},
|
|
|
|
"multiline-html-table-in-list": {
|
|
|
|
"dbid": 16,
|
|
|
|
"enabled": true,
|
2023-10-13 16:23:23 +00:00
|
|
|
"priority": "high"
|
2020-05-12 00:53:32 +00:00
|
|
|
},
|
|
|
|
"misc-tidy-replacement-issues": {
|
|
|
|
"dbid": 17,
|
|
|
|
"enabled": true,
|
2023-10-13 16:23:23 +00:00
|
|
|
"priority": "high"
|
2020-05-12 00:53:32 +00:00
|
|
|
},
|
|
|
|
"wikilink-in-extlink": {
|
|
|
|
"dbid": 18,
|
|
|
|
"enabled": true,
|
2021-12-14 15:11:28 +00:00
|
|
|
"priority": "medium",
|
|
|
|
"no-params": true
|
2021-12-10 22:58:55 +00:00
|
|
|
},
|
|
|
|
"inline-media-caption": {
|
|
|
|
"dbid": 19,
|
2022-01-16 17:25:28 +00:00
|
|
|
"enabled": false,
|
2021-12-10 22:58:55 +00:00
|
|
|
"priority": "high",
|
|
|
|
"no-params": true
|
2023-05-01 17:19:50 +00:00
|
|
|
},
|
|
|
|
"large-tables": {
|
|
|
|
"dbid": 20,
|
2023-05-03 13:56:09 +00:00
|
|
|
"enabled": true,
|
|
|
|
"priority": "none"
|
2023-05-04 20:31:38 +00:00
|
|
|
},
|
|
|
|
"missing-end-tag-in-heading": {
|
|
|
|
"dbid": 21,
|
|
|
|
"enabled": true,
|
2023-12-01 22:16:21 +00:00
|
|
|
"priority": "low",
|
2023-05-04 20:31:38 +00:00
|
|
|
"has-name": true
|
2024-03-20 19:43:10 +00:00
|
|
|
},
|
|
|
|
"night-mode-unaware-background-color": {
|
|
|
|
"dbid": 22,
|
|
|
|
"enabled": true,
|
|
|
|
"priority": "none"
|
2020-05-12 00:53:32 +00:00
|
|
|
}
|
2016-12-15 01:07:40 +00:00
|
|
|
}
|
2016-10-13 08:14:18 +00:00
|
|
|
},
|
2020-05-12 00:53:32 +00:00
|
|
|
"LinterStatsdSampleFactor": {
|
|
|
|
"value": false
|
2022-08-03 16:49:19 +00:00
|
|
|
},
|
|
|
|
"LinterWriteNamespaceColumnStage": {
|
|
|
|
"value": false
|
2022-08-03 18:48:32 +00:00
|
|
|
},
|
2022-01-26 20:41:27 +00:00
|
|
|
"LinterUseNamespaceColumnStage": {
|
|
|
|
"value": false
|
|
|
|
},
|
2022-08-03 18:48:32 +00:00
|
|
|
"LinterWriteTagAndTemplateColumnsStage": {
|
|
|
|
"value": false
|
2022-08-25 20:15:57 +00:00
|
|
|
},
|
|
|
|
"LinterUserInterfaceTagAndTemplateStage": {
|
|
|
|
"value": false
|
2020-05-12 00:53:32 +00:00
|
|
|
}
|
2016-10-13 08:14:18 +00:00
|
|
|
},
|
2020-05-12 00:53:32 +00:00
|
|
|
"manifest_version": 2
|
2016-10-13 08:14:18 +00:00
|
|
|
}
|