mediawiki-extensions-Linter/extension.json
Kunal Mehta ec6f4722aa Store linter_cat names in a separate table
linter_cat is now an int ID that points to a row in the new
lint_categories table.

The mapping between category names and ids is all handled in PHP, and
cached in APC.

Note that you will need to drop the `linter` table manually and re-run
update.php for this to take effect.

Change-Id: I369d9b4d8d08289b4a20d1cd29a2e327bad28ef8
2016-11-03 14:51:10 -07:00

62 lines
1.7 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\\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
}