-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathextension.json
64 lines (64 loc) · 1.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
{
"name": "Language Selector",
"version": "1.0.0",
"author": [
"Daniel Kinzler",
"Universal Omega"
],
"url": "https://www.mediawiki.org/wiki/Extension:LanguageSelector",
"descriptionmsg": "languageselector-desc",
"license-name": "GPL-2.0-or-later",
"type": "other",
"callback": "LanguageSelectorHooks::onRegistration",
"requires": {
"MediaWiki": ">= 1.35.0"
},
"ExtensionFunctions": [
"LanguageSelectorHooks::extension"
],
"MessagesDirs": {
"LanguageSelector": [
"i18n"
]
},
"AutoloadClasses": {
"LanguageSelectorHooks": "LanguageSelectorHooks.php"
},
"ResourceModules": {
"ext.languageSelector": {
"targets": [
"mobile",
"desktop"
],
"scripts": [
"LanguageSelector.js"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "LanguageSelector"
},
"config": {
"LanguageSelectorLanguages": {
"value": null,
"description": "Languages to offer in the language selector"
},
"LanguageSelectorShowCode": {
"value": false,
"description": "Determine if language codes are shown in the selector, in addition to names"
},
"LanguageSelectorShowAll": {
"value": false,
"description": "Show all languages defined, not only those with a language file"
}
},
"Hooks": {
"BeforePageDisplay": "LanguageSelectorHooks::onBeforePageDisplay",
"GetCacheVaryCookies": "LanguageSelectorHooks::onGetCacheVaryCookies",
"LocalUserCreated": "LanguageSelectorHooks::onLocalUserCreated",
"ParserFirstCallInit": "LanguageSelectorHooks::onParserFirstCallInit",
"UserGetLanguageObject": "LanguageSelectorHooks::onUserGetLanguageObject"
},
"manifest_version": 2
}