-
Notifications
You must be signed in to change notification settings - Fork 9
/
extension.json
74 lines (74 loc) · 1.61 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
{
"name": "DarkMode",
"version": "0.2.0",
"author": [
"MusikAnimal",
"R4356th"
],
"url": "https://www.mediawiki.org/wiki/Extension:DarkMode",
"descriptionmsg": "darkmode-desc",
"license-name": "MIT",
"type": "other",
"requires": {
"MediaWiki": ">= 1.38.0"
},
"AutoloadNamespaces": {
"MediaWiki\\Extension\\DarkMode\\": "includes/"
},
"Hooks": {
"SkinAddFooterLinks": "main",
"SkinTemplateNavigation::Universal": "main",
"SkinBuildSidebar": "main",
"BeforePageDisplay": "main",
"GetPreferences": "main"
},
"HookHandlers": {
"main": {
"class": "MediaWiki\\Extension\\DarkMode\\Hooks",
"services": [
"MainConfig",
"UserOptionsLookup"
]
}
},
"MessagesDirs": {
"DarkMode": [
"i18n"
]
},
"ResourceModules": {
"ext.DarkMode": {
"es6": true,
"dependencies": [
"mediawiki.api",
"mediawiki.user",
"oojs-ui.styles.icons-accessibility"
],
"packageFiles": [
"ext.DarkMode.js"
],
"messages": [
"darkmode-link",
"darkmode-link-tooltip",
"darkmode-default-link",
"darkmode-default-link-tooltip"
]
},
"ext.DarkMode.styles": {
"styles": [
"ext.DarkMode.less"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "resources",
"remoteExtPath": "DarkMode/resources"
},
"config": {
"DarkModeTogglePosition": {
"value": "personal",
"description": "Where the dark mode toggle link should be placed: 'personal' – next to the user talk page link in personal URLs. 'footer' – in the footer, usually after the 'Disclaimer' link. 'sidebar' – in the sidebar within the navigation portlet."
}
},
"manifest_version": 2
}