-
Notifications
You must be signed in to change notification settings - Fork 4
/
extension.json
100 lines (87 loc) · 2.62 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "External Content",
"version": "2.0.1",
"license-name": "GPL-2.0-or-later",
"author": [
"[https://www.EntropyWins.wtf/mediawiki Jeroen De Dauw]",
"[https://professional.wiki/ Professional.Wiki]"
],
"url": "https://github.com/ProfessionalWiki/ExternalContent",
"descriptionmsg": "external-content-desc",
"requires": {
"MediaWiki": ">= 1.35.0",
"platform": {
"php": ">= 8.0"
}
},
"config": {
"ExternalContentRenderMarkdownByDefault": {
"description": "Render markdown files rather than showing the markdown in a codeblock, unless the file is explicitly marked as code.",
"value": true
},
"ExternalContentDomainWhitelist": {
"description": "List of allowed domains to embed content from. Leave empty to have no restriction.",
"value": []
},
"ExternalContentFileExtensionWhitelist": {
"description": "List of allowed file extensions. Empty array for no restriction.",
"value": []
},
"ExternalContentEnableEmbedFunction": {
"description": "If the #embed parser function should be enabled.",
"value": true
},
"ExternalContentEnableBitbucketFunction": {
"description": "If the #bitbucket parser function should be enabled.",
"value": true
},
"ExternalContentBasicAuthCredentials": {
"description": "Per-domain Basic Auth credentials.",
"value": []
}
},
"MessagesDirs": {
"ExternalContent": [
"i18n"
]
},
"ExtensionMessagesFiles": {
"NetworkParserFunction": "i18n/_MagicWords.php"
},
"AutoloadNamespaces": {
"ProfessionalWiki\\ExternalContent\\": "src/",
"ProfessionalWiki\\ExternalContent\\Tests\\": "tests/"
},
"Hooks": {
"ParserFirstCallInit": "ProfessionalWiki\\ExternalContent\\EntryPoints\\MediaWikiHooks::onParserFirstCallInit",
"ParserTestGlobals": "ProfessionalWiki\\ExternalContent\\EntryPoints\\MediaWikiHooks::onParserTestGlobals",
"SearchDataForIndex": "ProfessionalWiki\\ExternalContent\\EntryPoints\\MediaWikiHooks::onSearchDataForIndex",
"SearchIndexFields": "ProfessionalWiki\\ExternalContent\\EntryPoints\\MediaWikiHooks::onSearchIndexFields"
},
"ResourceFileModulePaths": {
"localBasePath": "resources",
"remoteExtPath": "ExternalContent/resources"
},
"ResourceModules": {
"ext.external-content.code-renderer": {
"es6": true,
"scripts": [
"prism/prism.js",
"bitbucket-edit.js",
"code-specific-lines.js",
"copy-to-clipboard.js"
]
},
"ext.external-content.code-renderer.styles": {
"styles": [
"prism/prism.css",
"code-renderer.css"
]
}
},
"TrackingCategories": [
"external-content-tracking-category",
"external-content-broken-tracking-category"
],
"manifest_version": 2
}