mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-24 06:24:29 +00:00
dcd54e6c09
This isn't used by anything. And use ::class syntax while we're at it. Change-Id: I5cb0b9f36903636825080026d9bc18e5a7f7379e
80 lines
1.7 KiB
JSON
80 lines
1.7 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",
|
|
"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
|
|
}
|