K (1 Version importiert) |
hw>Unknown user Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
{{ | ==DescriptionMsg== | ||
{{ | {{AutoDocDescriptionMsg | ||
| | |name = BlueSpiceSocialProfile | ||
|desc = {{int:bs-socialprofile-desc | |||
{{ | }} | ||
}} | |||
{{ | ==License== | ||
{{ | {{AutoDocLicense | ||
|name = GPL-3.0-only | |||
}} | |||
==Requirements== | |||
{{AutoDocRequirements | |||
|mediawiki = {{AutoDocVersion | |||
|name = MediaWiki | |||
|version = 1.35.0 | |||
}} | |||
|extensions = {{AutoDocVersion | |||
|name = BlueSpiceAvatars | |||
|version = 4.0 | |||
}} | |||
{{AutoDocVersion | |||
|name = BlueSpiceFoundation | |||
|version = 4.0 | |||
}} | |||
{{AutoDocVersion | |||
|name = BlueSpiceSocial | |||
|version = 4.0 | |||
}} | |||
}} | |||
==IntegratesInto== | |||
{{AutoDocIntegratesInto | |||
|into = {{AutoDocListItem | |||
|item = BlueSpicePrivacy | |||
}} | |||
{{AutoDocListItem | |||
|item = BlueSpiceSMWConnector | |||
}} | |||
{{AutoDocListItem | |||
|item = BlueSpiceSocialProfile | |||
}} | |||
}} | |||
==SpecialPages== | |||
{{AutoDocSpecialPages | |||
|SpecialPages = {{AutoDocCallback | |||
|name = SocialProfiles | |name = SocialProfiles | ||
| | |callback = \BlueSpice\Social\Profile\Special\Profiles | ||
}} | |||
}} | |||
==Permissions== | |||
{{ | {{AutoDocPermissions | ||
{{ | |permissions = {{AutoDocPermission | ||
| | |name = social-editothersprofile | ||
|type = global | |type = global | ||
|roles = admin, | |roles = admin, maintenanceadmin | ||
|desc = | |desc = {{int:right-social-editothersprofile | ||
}} | |||
{{ | }} | ||
| | {{AutoDocPermission | ||
|name = socialprofile-viewspecialpage | |||
|type = global | |type = global | ||
|roles = accountmanager, | |roles = accountmanager, admin, author, bot, commenter, editor, maintenanceadmin, reader, reviewer, structuremanager | ||
|desc = | |desc = {{int:right-socialprofile-viewspecialpage | ||
}} | |||
}} | |||
}} | |||
{{ | ==DefaultUserOptions== | ||
{{ | {{AutoDocDefaultUserOptions | ||
|options = {{AutoDocOption | |||
|name = bs-social-profile-infoshowemail | |name = bs-social-profile-infoshowemail | ||
| | |value = <nowiki>false</nowiki> | ||
}} | |||
{{ | }} | ||
==Config== | |||
{{AutoDocConfig | |||
|config = {{AutoDocOption | |||
|name = BSSocialProfileCustomFields | |||
|value = <nowiki>array ( | |||
'social-profile-department' => | |||
array ( | |||
'i18n' => 'bs-social-profile-field-department', | |||
'type' => 'string', | |||
), | |||
'social-profile-function' => | |||
array ( | |||
'i18n' => 'bs-social-profile-field-function', | |||
'type' => 'string', | |||
), | |||
'social-profile-location' => | |||
array ( | |||
'i18n' => 'bs-social-profile-field-location', | |||
'type' => 'string', | |||
), | |||
'social-profile-phone' => | |||
array ( | |||
'i18n' => 'bs-social-profile-field-phone', | |||
'type' => 'string', | |||
), | |||
)</nowiki> | |||
}} | |||
{{AutoDocOption | |||
|name = BSSocialProfileFields | |||
|value = <nowiki>array ( | |||
'social-profile-title' => | |||
array ( | |||
'i18n' => 'bs-social-profile-field-title', | |||
'callback' => '\\BlueSpice\\Social\\Profile\\Field\\Title::getInstance', | |||
), | |||
'social-profile-name' => | |||
array ( | |||
'i18n' => 'bs-social-profile-field-name', | |||
'callback' => '\\BlueSpice\\Social\\Profile\\Field\\Name::getInstance', | |||
), | |||
'social-profile-email' => | |||
array ( | |||
'i18n' => 'bs-social-profile-field-email', | |||
'callback' => '\\BlueSpice\\Social\\Profile\\Field\\Email::getInstance', | |||
), | |||
)</nowiki> | |||
}} | |||
}} | |||
==Hooks== | |||
{{AutoDocHooks | |||
|Hooks = {{AutoDocCallback | |||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/ArticleViewHeader ArticleViewHeader] | |||
|callback = \BlueSpice\Social\Profile\Extension::onArticleViewHeader | |||
}} | |||
{{AutoDocCallback | |||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSPageTemplatesModifyTargetUrl BSPageTemplatesModifyTargetUrl] | |||
|callback = \BlueSpice\Social\Profile\Hook\BSPageTemplatesModifyTargetUrl\AddClassicProfileLink::callback | |||
}} | |||
{{AutoDocCallback | |||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSUserInfoMetaDataFactoryAllKeys BSUserInfoMetaDataFactoryAllKeys] | |||
|callback = \BlueSpice\Social\Profile\Hook\BSUserInfoMetaDataFactoryAllKeys\AddCustomProfileFieldKeys::callback | |||
}} | |||
{{AutoDocCallback | |||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSUserInfoMetaDataFactoryCallback BSUserInfoMetaDataFactoryCallback] | |||
|callback = \BlueSpice\Social\Profile\Hook\BSUserInfoMetaDataFactoryCallback\AddCustomProfileFieldCallbacks::callback | |||
}} | |||
{{AutoDocCallback | |||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/DeleteAccount DeleteAccount] | |||
|callback = \BlueSpice\Social\Profile\Hook\DeleteAccount\DeleteUserProfile::callback | |||
}} | |||
{{AutoDocCallback | |||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/GetPreferences GetPreferences] | |||
|callback = \BlueSpice\Social\Profile\Hook\GetPreferences\AddShowProfileInfoEmail::callback | |||
}} | |||
{{AutoDocCallback | |||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/HtmlPageLinkRendererBegin HtmlPageLinkRendererBegin] | |||
|callback = \BlueSpice\Social\Profile\Hook\HtmlPageLinkRendererBegin\SetProfileLinksKnown::callback | |||
}} | |||
{{AutoDocCallback | |||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/LocalUserCreated LocalUserCreated] | |||
|callback = \BlueSpice\Social\Profile\Hook\LocalUserCreated\CreateUserProfile::callback | |||
}} | |||
{{AutoDocCallback | |||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/PageSaveComplete PageSaveComplete] | |||
|callback = \BlueSpice\Social\Profile\Hook\PageSaveComplete\InvalidateProfileEntity::callback | |||
}} | |||
{{AutoDocCallback | |||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/UserLoadAfterLoadFromSession UserLoadAfterLoadFromSession] | |||
|callback = \BlueSpice\Social\Profile\Hook\UserLoadAfterLoadFromSession\AddLDAPProfileDataSync::callback | |||
}} | |||
{{AutoDocCallback | |||
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/UserSaveSettings UserSaveSettings] | |||
|callback = \BlueSpice\Social\Profile\Hook\UserSaveSettings\CreateAndInvalidateUserProfile::callback | |||
}} | |||
}} | |||
Version vom 7. Dezember 2021, 10:53 Uhr
DescriptionMsg[Bearbeiten | Quelltext bearbeiten]
Profil-Erweiterung für BlueSpiceSocial
License[Bearbeiten | Quelltext bearbeiten]
GPL v3
Requirements[Bearbeiten | Quelltext bearbeiten]
- MediaWiki: 1.35.0
- BlueSpiceAvatars: 4.0
BlueSpiceFoundation: 4.0 BlueSpiceSocial: 4.0
IntegratesInto[Bearbeiten | Quelltext bearbeiten]
- BlueSpicePrivacy
- BlueSpiceSMWConnector
- BlueSpiceSocialProfile
SpecialPages[Bearbeiten | Quelltext bearbeiten]
- SocialProfiles
Permissions[Bearbeiten | Quelltext bearbeiten]
Rechte
Name | Beschreibung | Rollen |
---|---|---|
social-editothersprofile | Profile anderer Nutzer bearbeiten | admin, maintenanceadmin |
socialprofile-viewspecialpage | Die Spezialseite "Profile" ansehen | accountmanager, admin, author, bot, commenter, editor, maintenanceadmin, reader, reviewer, structuremanager |
DefaultUserOptions[Bearbeiten | Quelltext bearbeiten]
Benutzeroptionen[Bearbeiten | Quelltext bearbeiten]
Name | Wert |
---|---|
bs-social-profile-infoshowemail | false |
Config[Bearbeiten | Quelltext bearbeiten]
Konfiguration[Bearbeiten | Quelltext bearbeiten]
Name | Wert |
---|---|
BSSocialProfileCustomFields | array ( 'social-profile-department' => array ( 'i18n' => 'bs-social-profile-field-department', 'type' => 'string', ), 'social-profile-function' => array ( 'i18n' => 'bs-social-profile-field-function', 'type' => 'string', ), 'social-profile-location' => array ( 'i18n' => 'bs-social-profile-field-location', 'type' => 'string', ), 'social-profile-phone' => array ( 'i18n' => 'bs-social-profile-field-phone', 'type' => 'string', ), ) |
BSSocialProfileFields | array ( 'social-profile-title' => array ( 'i18n' => 'bs-social-profile-field-title', 'callback' => '\\BlueSpice\\Social\\Profile\\Field\\Title::getInstance', ), 'social-profile-name' => array ( 'i18n' => 'bs-social-profile-field-name', 'callback' => '\\BlueSpice\\Social\\Profile\\Field\\Name::getInstance', ), 'social-profile-email' => array ( 'i18n' => 'bs-social-profile-field-email', 'callback' => '\\BlueSpice\\Social\\Profile\\Field\\Email::getInstance', ), ) |