forked from wikimedia/mediawiki-extensions-ApprovedRevs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathextension.json
153 lines (153 loc) · 4.88 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"name": "Approved Revs",
"version": "2.1-alpha",
"author": [
"Yaron Koren",
"..."
],
"url": "https://www.mediawiki.org/wiki/Extension:Approved_Revs",
"descriptionmsg": "approvedrevs-desc",
"license-name": "GPL-2.0-or-later",
"type": "hook",
"requires": {
"MediaWiki": ">= 1.38.0"
},
"GroupPermissions": {
"sysop": {
"viewapprover": true,
"approverevisions": true
},
"*": {
"viewlinktolatest": true
}
},
"GrantPermissions": {
"approvedrevs": {
"approverevisions": true,
"viewlinktolatest": true,
"viewapprover": true
}
},
"GrantPermissionGroups": {
"approvedrevs": "approvedrevs"
},
"AvailableRights": [
"approverevisions",
"viewlinktolatest",
"viewapprover"
],
"LogTypes": [
"approval"
],
"LogNames": {
"approval": "approvedrevs-logname"
},
"LogHeaders": {
"approval": "approvedrevs-logdesc"
},
"LogActions": {
"approval/approve": "approvedrevs-approveaction",
"approval/approvefile": "approvedrevs-approvefileaction",
"approval/unapprove": "approvedrevs-unapproveaction"
},
"SpecialPages": {
"ApprovedRevs": "SpecialApprovedRevs"
},
"APIModules": {
"approve": "ApiApprove"
},
"MessagesDirs": {
"ApprovedRevs": [
"i18n"
]
},
"ExtensionMessagesFiles": {
"ApprovedRevsAlias": "ApprovedRevs.alias.php",
"ApprovedRevsMagic": "ApprovedRevs.i18n.magic.php"
},
"AutoloadClasses": {
"ApprovedRevs": "includes/ApprovedRevs.php",
"ApprovedRevsHooks": "includes/ApprovedRevsHooks.php",
"ARParserFunctions": "includes/ARParserFunctions.php",
"SpecialApprovedRevs": "includes/specials/SpecialApprovedRevs.php",
"ApiApprove": "includes/ApiApprove.php",
"ARApproveAction": "includes/ARApproveAction.php",
"ARUnapproveAction": "includes/ARUnapproveAction.php",
"ARApproveFileAction": "includes/ARApproveFileAction.php",
"ARUnapproveFileAction": "includes/ARUnapproveFileAction.php"
},
"ResourceModules": {
"ext.ApprovedRevs": {
"styles": "resources/ApprovedRevs.css"
}
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "ApprovedRevs"
},
"Actions": {
"approve": "ARApproveAction",
"unapprove": "ARUnapproveAction",
"approvefile": "ARApproveFileAction",
"unapprovefile": "ARUnapproveFileAction"
},
"Hooks": {
"PageSaveComplete": [
"ApprovedRevsHooks::setLatestAsApproved",
"ApprovedRevsHooks::setSearchText"
],
"PageMoveComplete": "ApprovedRevsHooks::setPageMoveAsApproved",
"RevisionDataUpdates": "ApprovedRevsHooks::updateLinksAfterEdit",
"SearchResultInitFromTitle": "ApprovedRevsHooks::setSearchRevisionID",
"ParserBeforeInternalParse": "ApprovedRevsHooks::removeRobotsTag",
"ArticleFromTitle": "ApprovedRevsHooks::showApprovedRevision",
"ArticleRevisionViewCustom": "ApprovedRevsHooks::showBlankIfUnapproved",
"DisplayOldSubtitle": "ApprovedRevsHooks::setSubtitle",
"SkinTemplateNavigation::Universal": "ApprovedRevsHooks::changeEditLink",
"PageHistoryBeforeList": "ApprovedRevsHooks::storeApprovedRevisionForHistoryPage",
"PageHistoryLineEnding": "ApprovedRevsHooks::addApprovalLink",
"PageDeleteComplete": "ApprovedRevsHooks::deleteRevisionApproval",
"DiffTools": "ApprovedRevsHooks::addApprovalDiffLink",
"BeforeParserFetchTemplateRevisionRecord": "ApprovedRevsHooks::setTranscludedPageRev",
"GetMagicVariableIDs": "ApprovedRevsHooks::addMagicWordVariableIDs",
"ParserAfterTidy": "ApprovedRevsHooks::handleMagicWords",
"ParserGetVariableValueSwitch": "ApprovedRevsHooks::assignAValue",
"ParserFirstCallInit": "ApprovedRevsHooks::registerFunctions",
"AdminLinks": "ApprovedRevsHooks::addToAdminLinks",
"LoadExtensionSchemaUpdates": "ApprovedRevsHooks::describeDBSchema",
"TitleGetEditNotices": "ApprovedRevsHooks::addEditNotice",
"PageForms::HTMLBeforeForm": "ApprovedRevsHooks::addWarningToPFForm",
"ArticleViewHeader": [
"ApprovedRevsHooks::setArticleHeader",
"ApprovedRevsHooks::displayNotApprovedHeader"
],
"OutputPageBodyAttributes": "ApprovedRevsHooks::addBodyClass",
"ImagePageFileHistoryLine": "ApprovedRevsHooks::onImagePageFileHistoryLine",
"UploadComplete": "ApprovedRevsHooks::setLatestFileRevAsApproved",
"BeforeParserFetchFileAndTitle": "ApprovedRevsHooks::modifyFileLinks",
"ImagePageFindFile": "ApprovedRevsHooks::onImagePageFindFile",
"FileDeleteComplete": "ApprovedRevsHooks::onFileDeleteComplete",
"wgQueryPages": "ApprovedRevsHooks::onwgQueryPages",
"MpdfGetArticle": "ApprovedRevsHooks::onMpdfGetArticle"
},
"config": {
"_prefix": "eg",
"ApprovedRevsEnabledNamespaces": {
"0": true,
"2": true,
"4": true,
"6": true,
"10": true,
"12": true,
"_merge_strategy": "array_plus"
},
"ApprovedRevsSelfOwnedNamespaces": [],
"ApprovedRevsBlankIfUnapproved": false,
"ApprovedRevsBlankFileIfUnapproved": false,
"ApprovedRevsAutomaticApprovals": true,
"ApprovedRevsFileAutomaticApprovals": true,
"ApprovedRevsShowApproveLatest": false,
"ApprovedRevsShowNotApprovedMessage": false
},
"manifest_version": 1
}