mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-15 18:49:22 +00:00
01802ac3fb
Change-Id: I47de88dc1c2f2380e41e6af0d3222b46c9c65569
70 lines
1.4 KiB
JSON
70 lines
1.4 KiB
JSON
{
|
|
"name": "SyntaxHighlight",
|
|
"version": "2.0",
|
|
"author": [
|
|
"Brion Vibber",
|
|
"Tim Starling",
|
|
"Rob Church",
|
|
"Niklas Laxström",
|
|
"Ori Livneh"
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi",
|
|
"descriptionmsg": "syntaxhighlight-desc",
|
|
"license-name": "GPL-2.0+",
|
|
"type": "parserhook",
|
|
"MessagesDirs": {
|
|
"SyntaxHighlight_GeSHi": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"AutoloadClasses": {
|
|
"SyntaxHighlight_GeSHi": "SyntaxHighlight_GeSHi.class.php",
|
|
"GeSHi": "SyntaxHighlight_GeSHi.compat.php"
|
|
},
|
|
"ExtensionFunctions": [
|
|
"SyntaxHighlight_GeSHi::onSetup"
|
|
],
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "modules",
|
|
"remoteExtPath": "SyntaxHighlight_GeSHi/modules"
|
|
},
|
|
"ResourceModules": {
|
|
"ext.pygments": {
|
|
"position": "top",
|
|
"targets": [
|
|
"desktop",
|
|
"mobile"
|
|
],
|
|
"styles": [
|
|
"pygments.wrapper.css",
|
|
"pygments.generated.css"
|
|
]
|
|
}
|
|
},
|
|
"Hooks": {
|
|
"ParserFirstCallInit": [
|
|
"SyntaxHighlight_GeSHi::onParserFirstCallInit"
|
|
],
|
|
"ContentGetParserOutput": [
|
|
"SyntaxHighlight_GeSHi::onContentGetParserOutput"
|
|
],
|
|
"ApiFormatHighlight": [
|
|
"SyntaxHighlight_GeSHi::onApiFormatHighlight"
|
|
],
|
|
"RejectParserCacheValue": [
|
|
"SyntaxHighlight_GeSHi::onRejectParserCacheValue"
|
|
]
|
|
},
|
|
"SyntaxHighlightModels": {
|
|
"css": "css",
|
|
"javascript": "javascript"
|
|
},
|
|
"config": {
|
|
"PygmentizePath": false
|
|
},
|
|
"ParserTestFiles": [
|
|
"tests/parserTests.txt"
|
|
],
|
|
"manifest_version": 1
|
|
}
|