-
Notifications
You must be signed in to change notification settings - Fork 0
/
extension.json
55 lines (55 loc) · 1.74 KB
/
extension.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"name": "HLJS Integration",
"version": "3.3",
"author": "[https://github.com/WakelessSloth56 WakelessSloth56]",
"url": "https://github.com/auioc/mediawiki-extension-hljs",
"license-name": "AGPL-3.0",
"description": "Allows to use the client-side syntax highlighter [https://highlightjs.org highlight.js] in MediaWiki",
"type": "parserhook",
"require": {
"MediaWiki": ">= 1.25"
},
"AutoloadClasses": {
"HLJSHooks": "HLJSHooks.php"
},
"Hooks": {
"ParserBeforeInternalParse": ["HLJSHooks::onParserBeforeInternalParse"],
"ParserFirstCallInit": ["HLJSHooks::onParserFirstCallInit"],
"BeforePageDisplay": ["HLJSHooks::onBeforePageDisplay"]
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "HLJS/resources"
},
"ResourceModules": {
"ext.HLJS": {
"scripts": ["resources/init.js"],
"styles": ["resources/style.css"],
"messages": ["hljs-copy"]
}
},
"MessagesDirs": {
"HLJS": ["i18n"]
},
"ExtensionMessagesFiles": {
"HLJSMagic": "HLJS.i18n.php"
},
"config": {
"HljsScript": {
"value": "https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets/highlight.min.js"
},
"HljsStyle": {
"value": "https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets/styles/stackoverflow-light.min.css"
},
"HljsAdditionalLanguageScript": {
"value": "https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets/languages/*.min.js"
},
"HljsSyntaxhighlightTag": {
"value": false
},
"HljsEnableForScribunto": {
"value": false
}
},
"manifest_version": 2
}