Extension:Semantic Social Profile

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manualManual:Extensions
Crystal Clear app error.png
Semantic Social Profile

Release status:Extension status unstable

px
ImplementationTemplate:Extension#type Page action, Special page, Hook
DescriptionTemplate:Extension#description This extension represents social information of Social Profile extension as semantic annotations that are stored on a user’s userpage
Author(s)Template:Extension#username Yury Katkov, Dmitry Pokoptsev
Latest versionTemplate:Extension#version 1.0.0 (2011-09-14)
MediaWikiTemplate:Extension#mediawiki 1.16 - 1.21
PHPTemplate:Extension#php 5.3+
LicenseTemplate:Extension#license GNU Lesser General Public License 3.0
Download
Hooks usedTemplate:Extension#hook
AddNewAccountManual:Hooks/AddNewAccount
BasicProfileChanged
PersonalInterestsChanged
NewFriendAccepted
NewFoeAccepted
RelationshipRemovedByUserID
NewAvatarUploaded

Translate the Semantic Social Profile extension if it is available at translatewiki.net

Check usage and version matrix.

The Semantic Social Profile extension represents social information of SocialProfile extension as semantic annotations that are stored on a user’s userpage. Thus, the extension automatically adjusts user profile data for querying with Semantic MediaWiki tools and other tools that work with semantic data on Mediawiki. Moreover, the social data is associated with well-known Semantic Web vocabularies (foaf, bio, cv) that allows you to use wiki as a foaf-editor.

It is heavily tied in with the following extensions:

More description can be found in the paper Semantic Social Profile - a Semantic Boost for the Social Information in MediaWiki published in 2011 at ESWC conference.

Setup[edit]

Download instructions[edit]

The latest release may be found here.

Installation[edit]

Please notice again that before you install Semantic Social Profile, you must have the following extensions installed:

To install Semantic Social Profile extension, please follow the steps indicated below.

Copy Files[edit]

Extract the downloaded archive into your extension folder so that you get the following path $IP/extensions/SemanticSocialProfile/

$IP stands for the Installation Path (or "directory") of your MediaWiki installation, the same directory that holds LocalSettings.php, index.php etc..

LocalSettings.php[edit]

Add the following to LocalSettings.php:

include_once "$IP/extensions/SemanticSocialProfile/SemanticSocialProfile.php";

Process the extension setup[edit]

Log in your wiki as a user with administrator rights. In the list of Special pages enter “Semantic Social Profile Setup” or go to page “Special:SemanticSocialProfile” and press the "Setup" button.

The setup itself consists of two steps:

  1. The first one creates the pages necessary for the extension to work properly. Press “Setup” to proceed.
  2. The second step refreshes information for each user and adds the corresponding semantic properties to each user page. Press “Synchronize” to complete this step

Testing your installation[edit]

Visit your user page. Edit your profile by adding some information into the fields. Then go to page “{wikipath}/Special:Browse/User:{yourlogin}” where you can see new semantic properties assigned to your profile.

Usage[edit]

After you have Semantic Social Profile installed you can start to toy with your user's data using Semantic MediaWiki query language. For example to show all birthdays and photos of wiki users you can try the following

{{#ask:[[Category:SSP User]]
|?Avatar
|?Birthday
}}

Hooks[edit]

See Extension hook registry for information about hooks added by Semantic Social Profile.

Languages supported[edit]

Semantic Social Profile has support for three languages so far:

  • English
  • Russian
  • Ukrainian


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