Zuletzt bearbeitet vor 7 Monaten
von Margit Link-Rodrigue

AutoDoc:BlueSpiceSocialProfile: Unterschied zwischen den Versionen

K (1 Version importiert)
hw>Unknown user
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
{{ExtensionMainDescOpen}}
==DescriptionMsg==
{{ExtensionMainDescBody
{{AutoDocDescriptionMsg
|desc = Profil-Erweiterung für BlueSpiceSocial
|name = BlueSpiceSocialProfile
}}
|desc = {{int:bs-socialprofile-desc
{{ExtensionMainDescClose}}
}}
 
}}
{{ExtensionSpecialPagesOpen}}
==License==
{{ExtensionSpecialPagesBody
{{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
|class = \BlueSpice\Social\Profile\Special\Profiles
|callback = \BlueSpice\Social\Profile\Special\Profiles
}}
}}
{{ExtensionSpecialPagesClose}}
}}
 
==Permissions==
{{ExtensionPermissionsOpen}}
{{AutoDocPermissions
{{ExtensionPermissionsBody
|permissions = {{AutoDocPermission
|permission = social-editothersprofile
|name = social-editothersprofile
|type = global
|type = global
|roles = admin,<br>maintenanceadmin
|roles = admin, maintenanceadmin
|desc = Profile anderer Nutzer bearbeiten
|desc = {{int:right-social-editothersprofile
}}
}}
{{ExtensionPermissionsBody
}}
|permission = socialprofile-viewspecialpage
{{AutoDocPermission
|name = socialprofile-viewspecialpage
|type = global
|type = global
|roles = accountmanager,<br>admin,<br>author,<br>bot,<br>commenter,<br>editor,<br>maintenanceadmin,<br>reader,<br>reviewer,<br>structuremanager
|roles = accountmanager, admin, author, bot, commenter, editor, maintenanceadmin, reader, reviewer, structuremanager
|desc = Die Spezialseite "{{int:socialprofiles}}" ansehen
|desc = {{int:right-socialprofile-viewspecialpage
}}
}}
{{ExtensionPermissionsClose}}
}}
 
}}
{{ExtensionDefaultUserOptionsOpen}}
==DefaultUserOptions==
{{ExtensionDefaultUserOptionsBody
{{AutoDocDefaultUserOptions
|options = {{AutoDocOption
|name = bs-social-profile-infoshowemail
|name = bs-social-profile-infoshowemail
|defaultValue =  
|value = <nowiki>false</nowiki>
}}
}}
{{ExtensionDefaultUserOptionsClose}}
}}
==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
}}
}}


{{ExtensionConfigOpen}}
{{ExtensionConfigBody
|name = $bsgBSSocialProfileFields
|defaultValue = <nowiki>{"social-profile-title":{"i18n":"bs-social-profile-field-title","callback":"\\BlueSpice\\Social\\Profile\\Field\\Title::getInstance"},"social-profile-name":{"i18n":"bs-social-profile-field-name","callback":"\\BlueSpice\\Social\\Profile\\Field\\Name::getInstance"},"social-profile-email":{"i18n":"bs-social-profile-field-email","callback":"\\BlueSpice\\Social\\Profile\\Field\\Email::getInstance"}}</nowiki>
|overrideBy = $bsgOverrideBSSocialProfileFields
}}
{{ExtensionConfigBody
|name = $bsgBSSocialProfileCustomFields
|defaultValue = <nowiki>{"social-profile-department":{"i18n":"bs-social-profile-field-department","type":"string"},"social-profile-function":{"i18n":"bs-social-profile-field-function","type":"string"},"social-profile-location":{"i18n":"bs-social-profile-field-location","type":"string"},"social-profile-phone":{"i18n":"bs-social-profile-field-phone","type":"string"}}</nowiki>
|overrideBy = $bsgOverrideBSSocialProfileCustomFields
}}
{{ExtensionConfigClose}}

Version vom 7. Dezember 2021, 11: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', ), )

Hooks[Bearbeiten | Quelltext bearbeiten]

Hooks[Bearbeiten | Quelltext bearbeiten]

Keine Kategorien vergebenBearbeiten

Diskussionen