mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-13 17:57:15 +00:00
bce5b31616
This configures a MediaWiki extension to recieve Parsoid's lint errors and expose them to users. Change-Id: Ie0776aecf145eb1c87c2a539ddf3ea8d35a899f5
61 lines
1.6 KiB
JSON
61 lines
1.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\\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\\SpecialLintErrors": "includes/SpecialLintErrors.php",
|
|
"MediaWiki\\Linter\\LintErrorsPager": "includes/LintErrorsPager.php"
|
|
},
|
|
"MessagesDirs": {
|
|
"Linter": "i18n"
|
|
},
|
|
"Hooks": {
|
|
"LoadExtensionSchemaUpdates": "MediaWiki\\Linter\\Hooks::onLoadExtensionSchemaUpdates",
|
|
"EditFormInitialText": "MediaWiki\\Linter\\Hooks::onEditFormInitialText"
|
|
},
|
|
"APIModules": {
|
|
"record-lint": "MediaWiki\\Linter\\ApiRecordLint"
|
|
},
|
|
"APIListModules": {
|
|
"linterrors": "MediaWiki\\Linter\\ApiQueryLintErrors"
|
|
},
|
|
"SpecialPages": {
|
|
"LintErrors": "MediaWiki\\Linter\\SpecialLintErrors"
|
|
},
|
|
"ResourceModules": {
|
|
"ext.linter.edit": {
|
|
"scripts": "ext.linter.edit.js",
|
|
"dependencies": [
|
|
"jquery.textSelection"
|
|
]
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "modules",
|
|
"remoteExtPath": "Linter/modules"
|
|
},
|
|
"config": {
|
|
"LinterCategories": {
|
|
"fostered": true,
|
|
"obsolete-tag": true,
|
|
"bogus-image-options": true,
|
|
"missing-end-tag": true,
|
|
"stripped-tag": true
|
|
},
|
|
"LinterSubmitterWhitelist": {
|
|
"127.0.0.1": true
|
|
}
|
|
},
|
|
"manifest_version": 1
|
|
}
|