Open main menu

Extension:Semantic Social Profile

MediaWiki extensions manual
OOjs UI icon alert-invert.svg
Semantic Social Profile
Release status: unstable
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
Latest version 1.0.0 (2011-09-14)
MediaWiki 1.16 - 1.21
PHP 5.3+
License GNU Lesser General Public License 3.0
Translate the Semantic Social Profile extension if it is available at
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.


Download instructionsEdit

The latest release may be found here.


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 FilesEdit

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..


Add the following to LocalSettings.php:

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

Process the extension setupEdit

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 installationEdit

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.


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]]


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

Languages supportedEdit

Semantic Social Profile has support for three languages so far:

  • English
  • Russian
  • Ukrainian