/
extension.json
64 lines (64 loc) · 1.53 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": "AuthFlarum",
"version": "1.0.0",
"author": [
"Guillaume Kulakowski"
],
"url": "https://github.com/llaumgui/mw-auth-flarum",
"descriptionmsg": "authflarum-desc",
"type": "other",
"requires": {
"MediaWiki": ">= 1.36.0"
},
"license-name": "GPL-2.0-or-later",
"ConfigRegistry": {
"AuthFlarum": "GlobalVarConfig::newInstance"
},
"AutoloadNamespaces": {
"AuthFlarum\\": "src/"
},
"AuthManagerAutoConfig": {
"primaryauth": {
"AuthFlarumAuthenticationProvider": {
"class": "AuthFlarum\\FlarumAuthenticationProvider",
"args": []
}
}
},
"ServiceWiringFiles": [
"src/ServiceWiring.php"
],
"Hooks": {
"GetPreferences": "AuthFlarum\\Hooks::getPreferences",
"SpecialPage_initList": "AuthFlarum\\Hooks::specialPageInitList",
"AuthChangeFormFields": "AuthFlarum\\Hooks::onAuthChangeFormFields"
},
"MessagesDirs": {
"AuthFlarum": [
"i18n"
]
},
"config": {
"AuthFlarumUri": {
"description": "URI of your Flarum instance.",
"public": true,
"value": "http://localhost"
},
"AuthFlarumAutoCreate": {
"description": "Allows auto creation of MediaWiki account from Flarum ?",
"public": true,
"value": true
},
"AuthFlarumAutoCreateMinPost": {
"description": "Need a minimum number of posts to allow auto creation of MediaWiki account.",
"public": true,
"value": 100
},
"AuthFlarumAutoCreateNeedGroup": {
"description": "Need Flarum user in a specific group to allow auto creation of MediaWiki account.",
"public": true,
"value": 0
}
},
"manifest_version": 2
}