forked from hexmode/mediawiki-ViewProtect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
extension.json
76 lines (76 loc) · 2.43 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
{
"name": "ViewProtect",
"version": "0.1.0",
"author": [
"[http://mwstake.org/ Mark A. Hershberger]"
],
"url": "https://www.mediawiki.org/wiki/Extension:ViewProtect",
"descriptionmsg": "viewprotect-desc",
"license-name": "GPL-3.0+",
"type": "other",
"SpecialPages": {
"ViewProtect": "MediaWiki\\Extension\\ViewProtect\\SpecialViewProtect",
"ViewProtectFile": "MediaWiki\\Extension\\ViewProtect\\SpecialViewProtectFile"
},
"MessagesDirs": {
"ViewProtect": [
"i18n"
]
},
"ExtensionMessagesFiles": {
"ViewProtectAlias": "src/i18n/Alias.php"
},
"AutoloadClasses": {
"MediaWiki\\Extension\\ViewProtect\\ViewProtect": "src/ViewProtect.php",
"MediaWiki\\Extension\\ViewProtect\\Hooks": "src/Hooks.php",
"MediaWiki\\Extension\\ViewProtect\\SpecialViewProtect": "src/SpecialViewProtect.php",
"MediaWiki\\Extension\\ViewProtect\\SpecialViewProtectFile": "src/SpecialViewProtectFile.php",
"MediaWiki\\Extension\\ViewProtect\\ApiQueryViewProtect": "src/ApiQueryViewProtect.php",
"MediaWiki\\Extension\\ViewProtect\\Formatter": "src/LogFormatter.php"
},
"Hooks": {
"BeforePageDisplay": "MediaWiki\\Extension\\ViewProtect\\Hooks::onBeforePageDisplay",
"getUserPermissionsErrors": "MediaWiki\\Extension\\ViewProtect\\Hooks::onGetUserPermissionsErrors",
"ImgAuthBeforeStream": "MediaWiki\\Extension\\ViewProtect\\Hooks::onImgAuthBeforeStream",
"LoadExtensionSchemaUpdates": "MediaWiki\\Extension\\ViewProtect\\Hooks::onLoadExtensionSchemaUpdates",
"PageGroups": "MediaWiki\\Extension\\ViewProtect\\Hooks::onCoPPageGroups",
"UpdateUsableLevels": "MediaWiki\\Extension\\ViewProtect\\Hooks::onUpdateUsableLevels"
},
"AvailableRights": [
"viewprotectmanage"
],
"GroupPermissions": {
"sysop": {
"viewprotectmanage": true
}
},
"ResourceModules": {
"ext.ViewProtectFile": {
"scripts": "ext.ViewProtectFile.js",
"localBasePath": "resources",
"messages": [
"viewprotectfile-success-add",
"viewprotectfile-success-remove"
],
"dependencies": "mediawiki.notify"
}
},
"LogTypes": [
"viewprotect"
],
"LogRestrictions": {
"viewprotect": "viewprotectmanage"
},
"FilterLogTypes": {
"viewprotect": false
},
"LogActions": {
"viewprotect/read": "viewprotect-read",
"viewprotect/upload": "viewprotect-upload"
},
"LogActionsHandlers": {
"viewprotect/read": "MediaWiki\\Extension\\ViewProtect\\Formatter",
"viewprotect/upload": "MediaWiki\\Extension\\ViewProtect\\Formatter"
},
"manifest_version": 1
}