Extension:Gravatar/cs
![]() Stav rozšíření: stabilníCategory:Stable extensions/cs |
|
---|---|
![]() |
|
Implementace | Identita uživateleCategory:User identity extensions/cs |
Popis | Poskytuje avatary na základě e-mailové adresy uživatelů, pomocí služby Gravatar.com nebo libravatar instance. |
Autoři | Mainframe98diskuse |
Zásady kompatibility | Vydání snímků současně s MediaWiki. Hlavní vývojová větev není zpětně kompatibilní. |
MediaWiki | 1.35.0+Category:Extensions with manual MediaWiki version |
Změny v databázi | Ne |
Licence | Licence MIT |
Stáhnout | Category:Extensions in Wikimedia version control/cs Readme.md |
|
|
Čtvrtletní stahování | 1 (Ranked 95th) |
Přeložte rozšíření Gravatar, používá-li lokalizaci z translatewiki.net | |
Problémy | Otevřené úkoly · Nahlásit chybu |
The Gravatar extension provides avatars based on the user's email address, using the Gravatar.com service, or a libravatar instance.
Instalace
- Stáhněte soubor/y a vložte je do adresáře pojmenovaného
Gravatar
ve vaší složceextensions/
.
Vývojáři a přispěvatelé kódu by si místo toho měli nainstalovat rozšíření from Git pomocí:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Gravatar - Na konec vašeho souboru LocalSettings.php přidejte následující kód:
wfLoadExtension( 'Gravatar' );
Dokončeno – Přejděte na stránku Special:Version vaší wiki a zkontrolujte, zda bylo rozšíření úspěšně nainstalováno.
Podporované vzhledy
- Vector
- Timeless
- MonoBook
- Mirage
- Minerva Neue
- Any skin that provides an element with the classes
ext-gravatar-avatar ext-gravatar-user-avatar
Obavy o soukromí
The use of gravatar avatars is guarded by the gravatar-use-gravatar
preference. Users have to explicitly opt-in to allow their email address to be used for retrieving an avatar.
Site administrators should not set gravatar-use-gravatar
to true
in $wgDefaultUserOptions
, unless users have non-personal email addresses set, or a gravatar proxy is active.
In that case, disabling the user preference through $wgHiddenPrefs
might be desirable, as the Gravatar privacy policy no longer applies.
Konfigurace
$wgGravatarServer
- This setting specifies the avatar service to connect to. By default, this is //gravatar.com.$wgGravatarDefaultAvatar
- This setting controls the default avatar for users who have not opted-in or have no valid email address set. It can either be the url to an image, or one of the keywords supported by gravatar.$wgGravatarAcceptedAvatarRating
- This setting controls the rating that avatars should have.$wgGravatarIgnoredSkins
- This setting allows excluding certain skins from having the user's avatar displayed in the interface.