mediawiki-extensions-Syntax.../extension.json

86 lines
1.9 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_GeSHi",
"descriptionmsg": "syntaxhighlight-desc",
"license-name": "GPL-2.0+",
"type": "parserhook",
"requires": {
"MediaWiki": ">= 1.27"
},
"MessagesDirs": {
"SyntaxHighlight_GeSHi": [
"i18n"
]
},
"AutoloadClasses": {
"SyntaxHighlight_GeSHi": "SyntaxHighlight_GeSHi.class.php",
"GeSHi": "SyntaxHighlight_GeSHi.compat.php",
"SyntaxHighlightAce": "SyntaxHighlight_GeSHi.ace.php",
"ResourceLoaderGeSHiVisualEditorModule": "ResourceLoaderGeSHiVisualEditorModule.php"
},
"ExtensionFunctions": [
"SyntaxHighlight_GeSHi::onSetup"
],
"ResourceFileModulePaths": {
"localBasePath": "modules",
"remoteExtPath": "SyntaxHighlight_GeSHi/modules"
},
"ResourceModules": {
"ext.pygments": {
"position": "top",
"targets": [
"desktop",
"mobile"
],
"styles": [
"pygments.generated.css",
"pygments.wrapper.css"
]
}
},
"Hooks": {
"ParserFirstCallInit": [
"SyntaxHighlight_GeSHi::onParserFirstCallInit"
],
"ContentGetParserOutput": [
"SyntaxHighlight_GeSHi::onContentGetParserOutput"
],
"ApiFormatHighlight": [
"SyntaxHighlight_GeSHi::onApiFormatHighlight"
],
"RejectParserCacheValue": [
"SyntaxHighlight_GeSHi::onRejectParserCacheValue"
],
"ResourceLoaderRegisterModules": [
"SyntaxHighlight_GeSHi::onResourceLoaderRegisterModules"
]
},
"SyntaxHighlightModels": {
"css": "css",
"javascript": "javascript"
},
"VisualEditorPluginModules": [
"ext.geshi.visualEditor"
],
"config": {
"PygmentizePath": false
},
"TrackingCategories": [
"syntaxhighlight-error-category"
],
"ParserTestFiles": [
"tests/parserTests.txt"
],
"load_composer_autoloader": true,
"manifest_version": 1
}