Difference between revisions of "AutoDoc:BlueSpiceSocialProfile"

hw>Unknown user
m (1 revision imported)
 

DescriptionMsg[edit source]

Profile entity for BlueSpiceSocial

License[edit source]

GPL-3.0-only

Requirements[edit source]

  • MediaWiki: 1.31
  • BlueSpiceAvatars: 3.2

BlueSpiceFoundation: 3.2 BlueSpiceSocial: 3.2

IntegratesInto[edit source]

  • BlueSpicePrivacy
  • BlueSpiceSMWConnector
  • BlueSpiceSocialProfile

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
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', ), )

Hooks[edit source]

Hooks[edit source]

==DescriptionMsg==
        
        {{AutoDocDescriptionMsg
        
        |name = BlueSpiceSocialProfile
        
        |desc = {{int:bs-socialprofile-desc
        
        }}
        
        }}
        
        ==License==
        
        {{AutoDocLicense
        
        |name = GPL-3.0-only
        
        }}
        
        ==Requirements==
        
        {{AutoDocRequirements
        
        |mediawiki = {{AutoDocVersion
        
        |name = MediaWiki
        
        |version = 1.31
        
        }}
        
        |extensions = {{AutoDocVersion
        
        |name = BlueSpiceAvatars
        
        |version = 3.2
        
        }}
        
        {{AutoDocVersion
        
        |name = BlueSpiceFoundation
        
        |version = 3.2
        
        }}
        
        {{AutoDocVersion
        
        |name = BlueSpiceSocial
        
        |version = 3.2
        
        }}
        
        }}
        
        ==IntegratesInto==
        
        {{AutoDocIntegratesInto
        
        |into = {{AutoDocListItem
        
        |item = BlueSpicePrivacy
        
        }}
        
        {{AutoDocListItem
        
        |item = BlueSpiceSMWConnector
        
        }}
        
        {{AutoDocListItem
        
        |item = BlueSpiceSocialProfile
        
        }}
        
        }}
        
        ==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 = 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/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/PageContentSaveComplete PageContentSaveComplete]
        
        |callback = \BlueSpice\Social\Profile\Hook\PageContentSaveComplete\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
        
        }}
        
        }}
(No difference)

Attachments

Discussions