mediawiki-extensions-NewSig.../extension.json

78 行
2.4 KiB
JSON

{
"name": "New Signup Page",
"version": "1.4.0",
"author": [
"Jack Phoenix",
"Qiuwen Baike Contributors"
],
"license-name": "GPL-2.0-or-later",
"url": "https://git.qiuwen.wiki/qiuwen/NewSignupPage",
"descriptionmsg": "newsignuppage-desc",
"type": "other",
"requires": {
"MediaWiki": ">= 1.34.0"
},
"config": {
"RegisterTrack": {
"value": false,
"path": false,
"description": "Should we track information about referred users into the user_register_track DB table?",
"public": false
},
"AutoAddFriendOnInvite": {
"value": false,
"path": false,
"description": "When a user signs up via a referral link, add the referring user automatically as the new user's friend (and vice-versa)?",
"public": false
},
"NewSignupPageToSURL": {
"value": "",
"path": false,
"description": "Canonical URL to the site's terms of use page",
"public": false
},
"NewSignupPagePPURL": {
"value": "",
"path": false,
"description": "Canonical URL to the site's privacy policy page",
"public": false
}
},
"MessagesDirs": {
"NewSignupPage": [
"i18n"
]
},
"AutoloadClasses": {
"NewSignupPage": "includes/NewSignupPage.class.php",
"NewSignupPageAuthenticationRequest": "includes/auth/NewSignupPageAuthenticationRequest.php",
"NewSignupPageSecondaryAuthenticationProvider": "includes/auth/NewSignupPageSecondaryAuthenticationProvider.php"
},
"AuthManagerAutoConfig": {
"secondaryauth": {
"NewSignupPageSecondaryAuthenticationProvider": {
"class": "NewSignupPageSecondaryAuthenticationProvider"
}
}
},
"Hooks": {
"BeforePageDisplay": "NewSignupPage::onBeforePageDisplay",
"LoadExtensionSchemaUpdates": "NewSignupPage::onLoadExtensionSchemaUpdates"
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "NewSignupPage"
},
"ResourceModules": {
"ext.newsignuppage": {
"scripts": "resources/js/NewSignupPage.js",
"messages": [
"badretype"
]
}
},
"AvailableRights": [
"bypasstoscheck"
],
"manifest_version": 2
}