78 行
2.0 KiB
JSON
78 行
2.0 KiB
JSON
{
|
|
"name": "RNRS Hook",
|
|
"version": "2.0.0",
|
|
"author": [
|
|
"Qiuwen Baike Contributors"
|
|
],
|
|
"url": "https://git.qiuwen.net.cn/qiuwen/RNRSHook",
|
|
"descriptionmsg": "rnrshook-desc",
|
|
"type": "other",
|
|
"requires": {
|
|
"MediaWiki": ">= 1.37.0"
|
|
},
|
|
"license-name": "GPL-2.0-or-later AND GPL-3.0-or-later",
|
|
"AutoloadNamespaces": {
|
|
"MediaWiki\\Extension\\RNRSHook\\": "src/"
|
|
},
|
|
"Hooks": {
|
|
"GetPreferences": "PreferencesHook",
|
|
"getUserPermissionsErrors": "PermissionsHook",
|
|
"SpecialContributionsBeforeMainOutput": "PermissionsHook"
|
|
},
|
|
"HookHandlers": {
|
|
"PreferencesHook": {
|
|
"class": "\\MediaWiki\\Extension\\RNRSHook\\PreferencesHook"
|
|
},
|
|
"PermissionsHook": {
|
|
"class": "MediaWiki\\Extension\\RNRSHook\\PermissionsHook",
|
|
"services": [
|
|
"PermissionManager",
|
|
"MainConfig",
|
|
"UserGroupManager",
|
|
"UserOptionsLookup",
|
|
"UserRegistrationLookup"
|
|
]
|
|
}
|
|
},
|
|
"config": {
|
|
"RNRSSalt": {
|
|
"value": ""
|
|
},
|
|
"RNRSExclusiveRights": {
|
|
"value": []
|
|
},
|
|
"RNRSExemptGroup": {
|
|
"value": "rnrsverify-exempt"
|
|
},
|
|
"RNRSConfirmedGroup": {
|
|
"value": "rnrsverify-confirmed"
|
|
}
|
|
},
|
|
"MessagesDirs": {
|
|
"RNRSHook": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"AvailableRights": [
|
|
"rnrsverify-confirmed",
|
|
"rnrsverify-exempt"
|
|
],
|
|
"GroupPermissions": {
|
|
"rnrsverify-confirmed": {
|
|
"rnrsverify-confirmed": true
|
|
},
|
|
"rnrsverify-exempt": {
|
|
"rnrsverify-exempt": true
|
|
},
|
|
"bot": {
|
|
"rnrsverify-exempt": true
|
|
}
|
|
},
|
|
"GrantPermissions" : {
|
|
"basic": {
|
|
"rnrsverify-confirmed": true,
|
|
"rnrsverify-exempt": true
|
|
}
|
|
},
|
|
"manifest_version": 2
|
|
} |