mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-23 22:13:40 +00:00
0fa395c72d
Bug: T139594 Change-Id: Ib8c78f6f1da9750e0429f7bcf29b8dcb5ecca8a1
87 lines
1.9 KiB
JSON
87 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.GeSHi.php",
|
|
"SyntaxHighlightAce": "SyntaxHighlight_GeSHi.ace.php",
|
|
"SyntaxHighlightGeSHiCompat": "SyntaxHighlight_GeSHi.compat.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
|
|
}
|