-
Notifications
You must be signed in to change notification settings - Fork 2
/
extension.json
41 lines (41 loc) · 1.23 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
{
"name": "AccessControl",
"version": "5.0",
"author": [
"[https://www.mediawiki.org/wiki/m:User:Want Aleš Kapica]"
],
"type": "parserhook",
"url": "https://www.mediawiki.org/wiki/Extension:AccessControl",
"descriptionmsg": "accesscontrol-desc",
"license-name": "GPL-2.0-or-later",
"requires": {
"MediaWiki": ">= 1.32.0"
},
"AutoloadClasses": {
"AccessControlHooks": "src/AccessControlHooks.php"
},
"MessagesDirs": {
"AccessControl": [
"i18n"
]
},
"config": {
"AdminCanReadAll": {
"value": true,
"description": "Sysop users can read all restricted pages"
},
"AccessControlAllowTextSnippetInSearchResultsForAll": {
"value": false,
"description": "Allow to show text snippet of protected pages in search result even user has no rights to read"
}
},
"Hooks": {
"getUserPermissionsErrors": "AccessControlHooks::onGetUserPermissionsErrors",
"ParserFirstCallInit": "AccessControlHooks::accessControlExtension",
"OutputPageParserOutput": "AccessControlHooks::onOutputPageParserOutput",
"LinksUpdate": "AccessControlHooks::onLinksUpdate",
"LoadExtensionSchemaUpdates": "AccessControlHooks::onLoadExtensionSchemaUpdates",
"ShowSearchHit": "AccessControlHooks::onShowSearchHit"
},
"manifest_version": 2
}