mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-24 06:24:29 +00:00
7b266265a8
Change-Id: I6b98dbde365125cc2a5d336865080f67941403db
88 lines
1.8 KiB
JSON
88 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.33",
|
|
"platform": {
|
|
"ability-shell": true
|
|
}
|
|
},
|
|
"MessagesDirs": {
|
|
"SyntaxHighlight_GeSHi": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"AutoloadClasses": {
|
|
"SyntaxHighlight": "includes/SyntaxHighlight.php",
|
|
"SyntaxHighlightAce": "includes/SyntaxHighlightAce.php",
|
|
"SyntaxHighlightGeSHiCompat": "includes/SyntaxHighlightGeSHiCompat.php",
|
|
"ResourceLoaderSyntaxHighlightVisualEditorModule": "includes/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"
|
|
]
|
|
},
|
|
"attributes": {
|
|
"SyntaxHighlight": {
|
|
"Models" : {
|
|
"css": "css",
|
|
"javascript": "javascript"
|
|
}
|
|
},
|
|
"VisualEditor": {
|
|
"PluginModules": [
|
|
"ext.geshi.visualEditor"
|
|
]
|
|
}
|
|
},
|
|
"config": {
|
|
"PygmentizePath": {
|
|
"value": false
|
|
}
|
|
},
|
|
"TrackingCategories": [
|
|
"syntaxhighlight-error-category",
|
|
"syntaxhighlight-enclose-category",
|
|
"syntaxhighlight-source-category"
|
|
],
|
|
"manifest_version": 2
|
|
}
|