Erweiterung:SocialProfile

This page is a translated version of the page Extension:SocialProfile and the translation is 27% complete.
MediaWiki-Erweiterungen
OOjs UI icon advanced-invert.svg
Social Profile
Freigabestatus: stabil
Social-tools-logo-concept-1.png
Einbindung Spezialseite , Datenbank , Ajax
Beschreibung Incorporates multiple social features into MediaWiki for communities
Autor(en)
Letzte Version 1.14 (Laufende Aktualisierungen (see social tools/MediaWiki compatibility)
MediaWiki 1.35+
Datenbankänderungen Ja
Lizenz GNU General Public License 2.0 oder später
Herunterladen Template:WikimediaDownload/gerritonly
Beispiel Brickipedia, the LEGO Wiki
  • $wgUserPageChoice
  • $wgUpdateProfileInRecentChanges
  • $wgUploadAvatarInRecentChanges
  • $wgUserProfileDisplay
  • $wgUserProfileThresholds
  • $wgUserLevels
  • $wgNamespacesForEditPoints
  • $wgUserStatsPointValues
  • avatarremove
  • awardsmanage
  • editothersprofiles
  • giftadmin
  • updatepoints
  • userboard-delete
Übersetze die SocialProfile-Erweiterung, wenn sie auf translatewiki.net verfügbar ist

Prüfe die Benutzungs- und Versionsmatrix.

Probleme Offene Aufgaben · Einen Fehler melden

The SocialProfile extension incorporates a social profile, user board, and basic profile info into MediaWiki, specifically avatars, befriending, foeing, user board, board blast, user levels rank system, awards and gifts. The package also notifies users via email when other users request them as a friend or foe and/or sends them a message.

Installieren

  • If you use the ExtensionDistributor to download SocialProfile, make sure that you select "master (latest development version)"; older versions are guaranteed to have lots of bugs and they are unmaintained, while trunk is always up-to-date and contains the newest features and bugfixes!
See social tools' MediaWiki compatibility policy for more info.
  • You can also use git, like so:
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/SocialProfile


  • Die Lade den Hauptzweig herunter und die Datei(en) in ein Verzeichnis namens SocialProfile im Ordner extensions/ ablegen.
  • Folgenden Code am Ende deiner LocalSettings.php hinzufügen:
    require_once "$IP/extensions/SocialProfile/SocialProfile.php";
    
  • Führe das Aktualisierungsskript aus, welches automatisch die notwendigen Datenbanktabellen erstellt, die diese Erweiterung braucht.
  • The following directories should exist under the wiki's $wgUploadDirectory :
    • avatars/the directory where all user-uploaded avatar images are stored
    • awards/system gift (award) and normal gift images will be stored here
    • Move the directory awards/ from extensions/SocialProfile into the images directory that is used in your MediaWiki installation.

This directory should be writable. The images included in this folder by default can be used for awards if you upload them through Special:SystemGiftManagerLogo, but they won't show up as "defaults" the same way avatar default images do show up.

    • Move the directory avatars from extensions/SocialProfile into the images directory used in your MediaWiki installation.

This directory should be writable. Mit sudo chown -R apache:apache ./avatars/ && sudo chown -R apache:apache ./awards/

  •   Erledigt – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.

Parser functions

  • {{#avatar:Username}} - retrieves the avatar picture for the specified user.
  • {{#randomuserswithavatars}}
  • {{#newusers}}

User Options

  • echo-subscriptions-web-social-rel (requires Echo extension installed)
  • echo-subscriptions-email-social-rel (requires Echo extension installed)

Configuration variables

$wgUserProfileDisplay['board'] = true;
$wgUserProfileDisplay['foes'] = true;
$wgUserProfileDisplay['friends'] = true;
$wgUserProfileDisplay['avatar'] = true; // If set to false, disables both avatar display and upload
$wgUserBoard = true;
$wgFriendingEnabled = true;
$wgAvatarKey = $wgDBname;

$wgUserPageChoice = true;
$wgUserProfileAvatarsInDiffs = true;

Special Pages

  • SpecialEditProfile
  • SpecialPopulateUserProfiles
  • RemoveAvatar
  • SpecialToggleUserPage
  • SpecialUpdateProfile
  • SpecialUploadAvatar

Anmerkungen

  • Upgrading - If you are upgrading from SocialProfile version 1.2 or older, you'll need to create four new database tables manually: gift, system_gift, user_gift, user_system_gift.

If you're upgrading from 1.3, you'll need to create user_system_messages database table.

  • Since r93317, SocialProfile's namespaces are automagically registered, so you do not need to add them to $wgExtraNamespaces .
  • SocialProfile uses either ImageMagick or PHP's built-in GD library (since r93067), depending on which one is available, for creating the resized avatar, award and gift image files.

Known Limitations

Fehler melden

Bildschirmfotos