-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathextension.json
More file actions
51 lines (51 loc) · 1.64 KB
/
extension.json
File metadata and controls
51 lines (51 loc) · 1.64 KB
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
{
"name": "SMWFileProtect",
"version": "0.4.0",
"author": [
"Toni Hermoso Pulido <toniher@cau.cat>"
],
"url": "https://github.com/ProteoWiki/SMWFileProtect",
"description": "Protects files and namespaces in Semantic MediaWiki based on user rights and properties.",
"type": "other",
"requires": {
"MediaWiki": ">= 1.35",
"extensions": {
"SemanticMediaWiki": "*"
}
},
"AutoloadClasses": {
"SMWFileProtect": "SMWFileProtect_body.php",
"SMWNSProtect": "SMWNSProtect_body.php",
"SMWFileProtectHooks": "SMWFileProtect.hooks.php"
},
"config": {
"SMWFileProtectRights": {
"value": ["sysop"],
"description": "User groups allowed to bypass file protection."
},
"SMWFileProtectReferUsers": {
"value": ["Has User"],
"description": "User page properties used for file protection."
},
"SMWFileProtectReferProps": {
"value": ["Is Visible"],
"description": "Boolean properties used for file protection."
},
"SMWFileProtectReferNS": {
"value": true,
"description": "Enable namespace-based protection."
},
"SMWFileProtectWhiteListPages": {
"value": [],
"description": "Pages whitelisted from file protection."
}
},
"Hooks": {
"getUserPermissionsErrors": [
"SMWFileProtectHooks::onGetUserPermissionsErrors",
"SMWFileProtectHooks::onGetUserPermissionsErrorsNS"
]
},
"manifest_version": 2,
"license-name": "GPL-2.0-or-later"
}