Extension:Semantic Social Profile

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
Semantic Social Profile

Release status: beta

px
Implementation Page action, Special page, Hook
Description This extension represents social information of Social Profile extension as semantic annotations that are stored on a user’s userpage
Author(s) Yury Katkov, Dmitry Pokoptsev
Last version 0.1 (May 01, 2011)
MediaWiki 1.16+
PHP 5.3
License LGPL
Download Project page
Download snapshot
Subversion [Help]

Browse source code
View code changes
Note: no localisation updates provided by translatewiki.net.

Hooks used
AddNewAccount

BasicProfileChanged
PersonalInterestsChanged
NewFriendAccepted
NewFoeAccepted
RelationshipRemovedByUserID
NewAvatarUploaded

Check usage and version matrix

Contents

Description [edit]

Semantic Social Profile is an extension that 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 tools
SocialProfile OverviewUserStatus (GSoC 2011 project)RoadmapDeveloper infoScreenshotsHistory
Other social extensions Automatic Board WelcomeBlogPageFanBoxesNewUsersListPictureGamePollNYQuizGameRandomFeaturedUserRandomGameUnitRandomUsersWithAvatarsSiteMetricsUserWelcome
Semanticness Semantic Social Profile
Other related extensions
(which do not depend on SocialProfile)
CommentsLinkFilterNewSignupPageRandomImageByCategoryVideoVoteNYWikiTextLoggedInOut