mediawiki-extensions-Syntax.../extension.json
Kunal Mehta 01802ac3fb Use RejectParserCacheValue hook to invalidate caches that were using GeSHi
Change-Id: I47de88dc1c2f2380e41e6af0d3222b46c9c65569
2015-06-23 21:26:44 +00:00

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
}