You are viewing an old version of this page. Return to the latest version.
Difference between revisions of "AutoDoc:BlueSpiceSocialProfile"
hw>Unknown user |
m (1 revision imported) |
Contents
DescriptionMsg[edit source]
Profile entity for BlueSpiceSocial
Requirements[edit source]
- MediaWiki: ~1.31
- BlueSpiceFoundation: ~3.2
BlueSpiceSocial: ~3.2 BlueSpiceAvatars: ~3.2
IntegratesInto[edit source]
- BlueSpiceFoundation
- BlueSpiceSocialProfile
- BlueSpicePrivacy
- BlueSpiceSMWConnector
SpecialPages[edit source]
- SocialProfiles
Permissions[edit source]
Permissions
Name | Description | Role |
---|---|---|
social-editothersprofile | Edit other users profile | admin, maintenanceadmin |
socialprofile-viewspecialpage | View the special page "Profiles" | accountmanager, admin, author, bot, commenter, editor, maintenanceadmin, reader, reviewer, structuremanager |
DefaultUserOptions[edit source]
User options[edit source]
Name | Value |
---|---|
bs-social-profile-infoshowemail | false |
Config[edit source]
Configuration[edit source]
Name | Value |
---|---|
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', ), ) |
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', ), ) |
Hooks[edit source]
Hooks[edit source]
- PageContentSaveComplete
- ArticleViewHeader
- HtmlPageLinkRendererBegin
- UserSaveSettings
- BSUserInfoMetaDataFactoryAllKeys
- BSUserInfoMetaDataFactoryCallback
- GetPreferences
- BSPageTemplatesModifyTargetUrl
- UserLoadAfterLoadFromSession
==DescriptionMsg== {{AutoDocDescriptionMsg |name = BlueSpiceSocialProfile |desc = {{int:bs-socialprofile-desc }} }} ==Requirements== {{AutoDocRequirements |mediawiki = {{AutoDocVersion |name = MediaWiki |version = ~1.31 }} |extensions = {{AutoDocVersion |name = BlueSpiceFoundation |version = ~3.2 }} {{AutoDocVersion |name = BlueSpiceSocial |version = ~3.2 }} {{AutoDocVersion |name = BlueSpiceAvatars |version = ~3.2 }} }} ==IntegratesInto== {{AutoDocIntegratesInto |into = {{AutoDocListItem |item = BlueSpiceFoundation }} {{AutoDocListItem |item = BlueSpiceSocialProfile }} {{AutoDocListItem |item = BlueSpicePrivacy }} {{AutoDocListItem |item = BlueSpiceSMWConnector }} }} ==SpecialPages== {{AutoDocSpecialPages |SpecialPages = {{AutoDocCallback |name = SocialProfiles |callback = \BlueSpice\Social\Profile\Special\Profiles }} }} ==Permissions== {{AutoDocPermissions |permissions = {{AutoDocPermission |name = social-editothersprofile |type = global |roles = admin,maintenanceadmin |desc = {{int:right-social-editothersprofile }} }} {{AutoDocPermission |name = socialprofile-viewspecialpage |type = global |roles = accountmanager,admin,author,bot,commenter,editor,maintenanceadmin,reader,reviewer,structuremanager |desc = {{int:right-socialprofile-viewspecialpage }} }} }} ==DefaultUserOptions== {{AutoDocDefaultUserOptions |options = {{AutoDocOption |name = bs-social-profile-infoshowemail |value = <nowiki>false</nowiki> }} }} ==Config== {{AutoDocConfig |config = {{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> }} {{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> }} }} ==Hooks== {{AutoDocHooks |Hooks = {{AutoDocCallback |name = PageContentSaveComplete |callback = \BlueSpice\Social\Profile\Hook\PageContentSaveComplete\InvalidateProfileEntity::callback }} {{AutoDocCallback |name = ArticleViewHeader |callback = \BlueSpice\Social\Profile\Extension::onArticleViewHeader }} {{AutoDocCallback |name = HtmlPageLinkRendererBegin |callback = \BlueSpice\Social\Profile\Hook\HtmlPageLinkRendererBegin\SetProfileLinksKnown::callback }} {{AutoDocCallback |name = UserSaveSettings |callback = \BlueSpice\Social\Profile\Hook\UserSaveSettings\CreateAndInvalidateUserProfile::callback }} {{AutoDocCallback |name = BSUserInfoMetaDataFactoryAllKeys |callback = \BlueSpice\Social\Profile\Hook\BSUserInfoMetaDataFactoryAllKeys\AddCustomProfileFieldKeys::callback }} {{AutoDocCallback |name = BSUserInfoMetaDataFactoryCallback |callback = \BlueSpice\Social\Profile\Hook\BSUserInfoMetaDataFactoryCallback\AddCustomProfileFieldCallbacks::callback }} {{AutoDocCallback |name = GetPreferences |callback = \BlueSpice\Social\Profile\Hook\GetPreferences\AddShowProfileInfoEmail::callback }} {{AutoDocCallback |name = BSPageTemplatesModifyTargetUrl |callback = \BlueSpice\Social\Profile\Hook\BSPageTemplatesModifyTargetUrl\AddClassicProfileLink::callback }} {{AutoDocCallback |name = UserLoadAfterLoadFromSession |callback = \BlueSpice\Social\Profile\Hook\UserLoadAfterLoadFromSession\AddLDAPProfileDataSync::callback }} }}
(No difference)
|