diff options
author | Yaco <franco@reevo.org> | 2020-06-04 11:01:00 -0300 |
---|---|---|
committer | Yaco <franco@reevo.org> | 2020-06-04 11:01:00 -0300 |
commit | fc7369835258467bf97eb64f184b93691f9a9fd5 (patch) | |
tree | daabd60089d2dd76d9f5fb416b005fbe159c799d /www/wiki/extensions/SyntaxHighlight_GeSHi/extension.json |
first commit
Diffstat (limited to 'www/wiki/extensions/SyntaxHighlight_GeSHi/extension.json')
-rw-r--r-- | www/wiki/extensions/SyntaxHighlight_GeSHi/extension.json | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/www/wiki/extensions/SyntaxHighlight_GeSHi/extension.json b/www/wiki/extensions/SyntaxHighlight_GeSHi/extension.json new file mode 100644 index 00000000..4e7d5c0e --- /dev/null +++ b/www/wiki/extensions/SyntaxHighlight_GeSHi/extension.json @@ -0,0 +1,76 @@ +{ + "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": "includes/SyntaxHighlight.php", + "SyntaxHighlight_GeSHi": "includes/SyntaxHighlight.php", + "GeSHi": "includes/GeSHi.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" + ] + }, + "SyntaxHighlightModels": { + "css": "css", + "javascript": "javascript" + }, + "VisualEditorPluginModules": [ + "ext.geshi.visualEditor" + ], + "config": { + "PygmentizePath": false + }, + "TrackingCategories": [ + "syntaxhighlight-error-category" + ], + "manifest_version": 1 +} |