Zuletzt bearbeitet vor 4 Monaten
von Robert Vogel

AutoDoc:BlueSpiceSocialProfile: Unterschied zwischen den Versionen

hw>Unknown user
Keine Bearbeitungszusammenfassung
 
K (1 Version importiert)
 
(14 dazwischenliegende Versionen von 4 Benutzern werden nicht angezeigt)
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.39.0
}}
|extensions = {{AutoDocVersion
|name = BlueSpiceAvatars
|version = 4.3
}}
{{AutoDocVersion
|name = BlueSpiceFoundation
|version = 4.3
}}
{{AutoDocVersion
|name = BlueSpiceSocial
|version = 4.3
}}
}}
==IntegratesInto==
{{AutoDocIntegratesInto
|into = {{AutoDocListItem
|item = BlueSpicePrivacy
}}
{{AutoDocListItem
|item = BlueSpiceSMWConnector
}}
{{AutoDocListItem
|item = BlueSpiceSocialProfile
}}
{{AutoDocListItem
|item = BlueSpiceVisualEditorConnector
}}
{{AutoDocListItem
|item = ContentDroplets
}}
}}
==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/BSUsageTrackerRegisterCollectors BSUsageTrackerRegisterCollectors]
|callback = \BlueSpice\Social\Profile\Hook\BSUsageTrackerRegisterCollectors\NoOfCustomSocialProfiles::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}}

Aktuelle Version vom 10. Juli 2024, 14:52 Uhr

DescriptionMsg[Bearbeiten | Quelltext bearbeiten]

Profil-Erweiterung für BlueSpiceSocial

License[Bearbeiten | Quelltext bearbeiten]

GPL v3

Requirements[Bearbeiten | Quelltext bearbeiten]

  • MediaWiki: 1.39.0
  • BlueSpiceAvatars: 4.3

BlueSpiceFoundation: 4.3 BlueSpiceSocial: 4.3

IntegratesInto[Bearbeiten | Quelltext bearbeiten]

  • BlueSpicePrivacy
  • BlueSpiceSMWConnector
  • BlueSpiceSocialProfile
  • BlueSpiceVisualEditorConnector
  • ContentDroplets

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]