mediawiki-extensions-Syntax.../extension.json
zoranzoki21 0d1acc53b6 Removed deprecated position statements from resource loader module
Bug: T184257
Change-Id: Icca050498f0be381b8bc142e38462ac74455c336
2018-02-03 16:34:16 +01:00

81 lines
1.8 KiB
JSON

{
"name": "SyntaxHighlight",
"version": "2.0",
"author": [
"Brion Vibber",
"Tim Starling",
"Rob Church",
"Niklas Laxström",
"Ori Livneh",
"Ed Sanders"
],
"url": "https://www.mediawiki.org/wiki/Extension:SyntaxHighlight",
"descriptionmsg": "syntaxhighlight-desc",
"license-name": "GPL-2.0-or-later",
"type": "parserhook",
"requires": {
"MediaWiki": ">= 1.31"
},
"MessagesDirs": {
"SyntaxHighlight_GeSHi": [
"i18n"
]
},
"AutoloadClasses": {
"SyntaxHighlight": "SyntaxHighlight.php",
"SyntaxHighlight_GeSHi": "SyntaxHighlight.php",
"GeSHi": "GeSHi.php",
"SyntaxHighlightAce": "SyntaxHighlightAce.php",
"SyntaxHighlightGeSHiCompat": "SyntaxHighlightGeSHiCompat.php",
"ResourceLoaderGeSHiVisualEditorModule": "ResourceLoaderSyntaxHighlightVisualEditorModule.php",
"ResourceLoaderSyntaxHighlightVisualEditorModule": "ResourceLoaderSyntaxHighlightVisualEditorModule.php"
},
"ResourceFileModulePaths": {
"localBasePath": "modules",
"remoteExtPath": "SyntaxHighlight_GeSHi/modules"
},
"ResourceModules": {
"ext.pygments": {
"targets": [
"desktop",
"mobile"
],
"styles": [
"pygments.generated.css",
"pygments.wrapper.css"
]
}
},
"Hooks": {
"ParserFirstCallInit": [
"SyntaxHighlight::onParserFirstCallInit"
],
"ContentGetParserOutput": [
"SyntaxHighlight::onContentGetParserOutput"
],
"ApiFormatHighlight": [
"SyntaxHighlight::onApiFormatHighlight"
],
"ResourceLoaderRegisterModules": [
"SyntaxHighlight::onResourceLoaderRegisterModules"
]
},
"SyntaxHighlightModels": {
"css": "css",
"javascript": "javascript"
},
"VisualEditorPluginModules": [
"ext.geshi.visualEditor"
],
"config": {
"PygmentizePath": false
},
"TrackingCategories": [
"syntaxhighlight-error-category"
],
"ParserTestFiles": [
"tests/parserTests.txt"
],
"manifest_version": 1
}