Extensão:SocialProfile
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.
- For technical documentation (if you are a system administrator), see Extension:SocialProfile/Technical documentation .
- For developer information, see Extension:SocialProfile/Developer information .
- For help on using SocialProfile, see Help:Extension:SocialProfile (currently a draft).
Install
- 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
- Download the master branch e coloque o(s) arquivo(s) num diretório chamado
SocialProfile
na sua pastaextensions/
. - Adicione o seguinte código ao final do seu arquivo LocalSettings.php:
require_once "$IP/extensions/SocialProfile/SocialProfile.php";
- Execute o script de atualização que criará automaticamente as tabelas de banco de dados necessárias a essa extensão.
- The following directories should exist under the wiki's
$wgUploadDirectory
:
avatars/
— the directory where all user-uploaded avatar images are storedawards/
— system gift (award) and normal gift images will be stored here
- Move the directory
awards/
fromextensions/SocialProfile
into the images directory that is used in your MediaWiki installation.
- Move the directory
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
fromextensions/SocialProfile
into the images directory used in your MediaWiki installation.
- Move the directory
This directory should be writable. Using sudo chown -R apache:apache ./avatars/ && sudo chown -R apache:apache ./awards/
Concluído – Navegue à página Special:Version em sua wiki para verificar se a instalação da extensão foi bem sucedida.
Notes
- 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
,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 ImageMagick 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
Screenshots
- Extension:SocialProfile/Screenshots - For screenshots of the extension and some very brief descriptions of the features.