Extension:SocialProfile

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
Social Profile

Release status:Extension status stable

Social-tools-logo-concept-1.png
ImplementationTemplate:Extension#type Special page, Database, Ajax
DescriptionTemplate:Extension#description Incorporates multiple social features into MediaWiki for communities
Author(s)Template:Extension#username
Latest versionTemplate:Extension#version 1.10 (Continuous updates)
MediaWikiTemplate:Extension#mediawiki 1.30
Database changesTemplate:Extension#needs-updatephp Yes
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Download Template:WikimediaDownload/gerritonly
ExampleTemplate:Extension#example * Halopedia
ParametersTemplate:Extension#parameters
  • $wgUserPageChoice
  • $wgUpdateProfileInRecentChanges
  • $wgUploadAvatarInRecentChanges
  • $wgUserProfileDisplay
  • $wgUserProfileThresholds
  • $wgUserLevels
  • $wgNamespacesForEditPoints
  • $wgUserStatsPointValues
Added rightsTemplate:Extension#rights
  • avatarremove
  • awardsmanage
  • editothersprofiles
  • giftadmin
  • updatepoints
  • userboard-delete
Hooks usedTemplate:Extension#hook
BeforePageDisplayManual:Hooks/BeforePageDisplay
CanonicalNamespacesManual:Hooks/CanonicalNamespaces
LoadExtensionSchemaUpdatesManual:Hooks/LoadExtensionSchemaUpdates
RenameUserCompleteManual:Hooks/RenameUserComplete
BeforeCreateEchoEventManual:Hooks/BeforeCreateEchoEvent
EchoGetDefaultNotifiedUsers
EchoGetBundleRulesManual:Hooks/EchoGetBundleRules
ParserFirstCallInitManual:Hooks/ParserFirstCallInit
DifferenceEngineShowDiffManual:Hooks/DifferenceEngineShowDiff
DifferenceEngineShowDiffPageManual:Hooks/DifferenceEngineShowDiffPage
DifferenceEngineOldHeaderManual:Hooks/DifferenceEngineOldHeader
DifferenceEngineNewHeaderManual:Hooks/DifferenceEngineNewHeader
OutputPageBodyAttributesManual:Hooks/OutputPageBodyAttributes

Translate the SocialProfile extension if it is available at translatewiki.net

Check usage and version matrix.

IssuesPhabricator

Open tasks · Report a bug

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.

Install[edit]

  • 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!
  • You can also use git, like so:
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/SocialProfile


  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/SocialProfile/SocialProfile.php";
    
  • Run the update script which will automatically create the necessary database tables that this extension needs.
  • 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.
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Notes[edit]

  • 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 and 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 ImageMagickManual:Image administration#Image thumbnailing 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.

Reporting bugs[edit]

Screenshots[edit]

For screenshots of the extension and some very brief descriptions of the features.


Social toolsSocial tools
SocialProfileExtension:SocialProfile OverviewExtension:SocialProfileDeveloper infoExtension:SocialProfile/For developersScreenshotsExtension:SocialProfile/ScreenshotsHistorySocial tools#History
Other social extensions Automatic Board WelcomeExtension:Automatic Board WelcomeBlogPageExtension:BlogPageChallengeExtension:ChallengeFanBoxesExtension:FanBoxesMiniInviteExtension:MiniInviteNewUsersListExtension:NewUsersListPictureGameExtension:PictureGamePollNYExtension:PollNYQuizGameExtension:QuizGameRandomFeaturedUserExtension:RandomFeaturedUserRandomGameUnitExtension:RandomGameUnitRandomUsersWithAvatarsExtension:RandomUsersWithAvatarsSiteMetricsExtension:SiteMetricsSiteScoutExtension:SiteScoutSportsTeamsExtension:SportsTeamsUserStatusExtension:UserStatusUserWelcomeExtension:UserWelcome
Other related extensions

(which do not depend on SocialProfile)

AnswersExtension:AnswersAJAXPollExtension:AJAXPollCommentsExtension:CommentsImageRatingExtension:ImageRatingLinkFilterExtension:LinkFilterMediaWikiChatExtension:MediaWikiChatNewSignupPageExtension:NewSignupPageTopListsExtension:TopListsVideoExtension:VideoVoteNYExtension:VoteNYWikiForumExtension:WikiForumWikiTextLoggedInOutExtension:WikiTextLoggedInOut