From mediawiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
Release status: unmaintained
Implementation User interface, Special page
Description Adds ability to login with Social Networks like Facebook, VKontakte, Google and more using OAuth 2.0 protocol.
Author(s) Luft-ontalk
Latest version 0.9.9 (2012-11-26)
Database changes Yes
License No license specified

  • $wgSocialLoginServices
  • $wgSocialLoginOverrideUrls
  • $wgSocialLoginAddForms
  • $wgVkSecret
  • $wgVkAppId
  • $wgFacebookSecret
  • $wgFacebookAppId
  • $wgGoogleSecret
  • $wgGoogleAppId
  • $wgYandexSecret
  • $wgYandexAppId
  • $wgOdnoklassnikiPublic
  • $wgOdnoklassnikiSecret
  • $wgOdnoklassnikiAppId

Check usage and version matrix.

The SocialLogin extension adds a special page with the ability to connect an account with social networks accounts like Facebook, VKontakte, and Google with their respective APIs.

This mean you can easily login to your MediaWiki project once you have connected your existing or new account with your social media account. Afterwards, the client's application extension will ask you to connect your social media account with an existing or new wiki account.

There are a few interactions with social media plugins out of box: Facebook, Google, VKontakte, Yandex and Odnoklassniki. However, you can create your own.


  • Integration with Facebook, Google, Vk, Yandex and Odnoklassniki;
  • Opportunity to connect different social media accounts with one account;
  • Opportunity to connect few account of one social media with one account;
  • Opportunity to unlink social media account at anytime;
  • Opportunity to map Login / Register link to Special:SocialLogin;
  • Easy extensioning.


  • Download and place the file(s) in a directory called SocialLogin in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/SocialLogin/SocialLogin.php";
  • Configure as required
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration parameters[edit]

Associative array containing plugin => description structure. Every plugin key will be used to include SocialLoginPlugin's from plugins folder and must match plugin filename, e.g. google.com, vk.com, odnoklassniki.ru. For example:
$wgSocialLoginServices = array(
	'vk.com' => 'VKontakte',
	'facebook.com' => 'Facebook',
	'google.com' => 'Google',
	'odnoklassniki.ru' => 'Odnoklassniki',
	'yandex.ru' => 'Yandex'
If set to true, Login / Register link will be mapped to Special:SocialLogin.
If set to true, two forms (login and register) will be added below SocialLogin page for anonymous user.
vk.com application secret.
vk.com application ID.
facebook.com application secret.
facebook.com application ID.
google.com application secret.
google.com application ID.
yandex.ru application secret.
yandex.ru application ID.
odnoklassniki.ru application public.
odnoklassniki.ru application private.
odnoklassniki.ru application ID.
Additional site application secret.
Additional site application ID.:

External Links[edit]

Social Login Extension For Magento