-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathextension.json
88 lines (88 loc) · 2.94 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
{
"name": "UnifiedExtensionForFemiwiki",
"version": "4.1.0",
"author": "[https://femiwiki.com/ Femiwiki Team]",
"url": "https://github.com/femiwiki/unifiedExtensionForFemiwiki",
"descriptionmsg": "unifiedextensionforfemiwiki-desc",
"license-name": "AGPL-3.0-or-later",
"type": "specialpage",
"requires": {
"MediaWiki": ">= 1.42.0",
"extensions": {
"CategoryTree": "*",
"SpamBlacklist": "*"
}
},
"AutoloadNamespaces": {
"MediaWiki\\Extension\\UnifiedExtensionForFemiwiki\\": "includes/"
},
"AuthManagerAutoConfig": {
"preauth": {
"FemiwikiPreAuthenticationProvider": {
"class": "MediaWiki\\Extension\\UnifiedExtensionForFemiwiki\\FemiwikiPreAuthenticationProvider"
}
}
},
"HookHandlers": {
"main": {
"class": "MediaWiki\\Extension\\UnifiedExtensionForFemiwiki\\HookHandlers\\Main",
"services": ["MainConfig"]
},
"RelatedArticles": {
"class": "MediaWiki\\Extension\\UnifiedExtensionForFemiwiki\\HookHandlers\\RelatedArticles",
"services": ["MainConfig", "DBLoadBalancer"],
"optional_services": ["DisambiguatorLookup"]
},
"DefaultOptions": {
"class": "MediaWiki\\Extension\\UnifiedExtensionForFemiwiki\\HookHandlers\\DefaultOptions",
"services": ["MainConfig", "UserOptionsManager"]
},
"SpamEmail": {
"class": "MediaWiki\\Extension\\UnifiedExtensionForFemiwiki\\HookHandlers\\SpamEmail",
"services": [
"MainConfig",
"DBLoadBalancer",
"DatabaseBlockStore",
"MainWANObjectCache"
]
}
},
"Hooks": {
"HtmlPageLinkRendererBegin": "main",
"isValidEmailAddr": "SpamEmail",
"LinkerMakeExternalLink": "main",
"OutputPageParserOutput": "RelatedArticles",
"SidebarBeforeOutput": "main",
"SkinAddFooterLinks": "main",
"UserMailerTransformContent": "main"
},
"MessagesDirs": {
"UnifiedExtensionForFemiwiki": ["i18n"]
},
"config": {
"UnifiedExtensionForFemiwikiPreAuth": {
"value": false,
"description": "If set to true, creating account would require an additional step."
},
"UnifiedExtensionForFemiwikiRelatedArticlesUseLinks": {
"value": true,
"description": "If set to true, Related Articles on a page would show links from the page and links to the page."
},
"UnifiedExtensionForFemiwikiModifyEmailTheme": {
"value": false,
"description": "Modifies the email theme to use the femiwiki theme."
},
"UnifiedExtensionForFemiwikiRelatedArticlesTargetNamespaces": {
"value": [],
"description": "An array of namespaces which can be a target for RelatedArticles. Empty array means allowing all namespaces."
},
"UnifiedExtensionForFemiwikiBlockByEmail": {
"value": true,
"description": "Block emails used by block users"
}
},
"TestAutoloadNamespaces": {
"MediaWiki\\Extension\\UnifiedExtensionForFemiwiki\\Tests\\Unit\\": "tests/phpunit/unit/"
},
"manifest_version": 2
}