Hi I need help to allow a user to change there avatar image. There is support through pidgi wiki but not sure how it works tried it there but little hard. But I mean have it in wiki allow user to select avatar images or upload there own.
Description
Details
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Support custom avatars if SocialProfile is enabled | mediawiki/skins/Metrolook | master | +70 -38 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | ashley | T105874 Allow avatar customising | |||
| Open | None | T127922 Allowing avatar usage from users preferences page |
Event Timeline
In the initial release of Metrolook, first released almost exactly a year ago, there was built-in support for custom avatars via Gravatar. I didn't like it back then, and I don't like the idea now, since it is a(n unnecessary) dependency on an external server. Such dependencies are unacceptable for many users, such as the Wikimedia Foundation, which is precisely the reason why WMF wikis don't use reCaptcha, for example.
Nevertheless, Gravatar support could be available for third parties wishing to use it, hidden behind a configuration flag which is set to false by default.
Avatar support is somewhat problematic in MediaWiki, as there's essentially no standardized avatar API -- nor a stand-alone avatar extension for that matter. Most third-party wikis use the SocialProfile extension, which provides avatars, and some other social stuff, such as user profiles, gifts, etc. It is admittedly somewhat of a heavy solution if all you need is avatars. The Refreshed skin supports SocialProfile's avatars, for example, and if SocialProfile isn't available, then no avatar will be displayed.
Wikia and wikiHow both have site-specific avatar extensions, but we probably don't need to care about them, since neither party is putting effort into supporting other skins than their default skin.
I was thinking we could add support for 1) SocialProfile (the wAvatar class) and 2) Gravatar avatars into Metrolook. This shouldn't be too complicated, but it might require restructuring some parts, as IIRC the default avatar is currently added as a background-image via CSS.
I mean allowing a user to upload a avatar to the wiki like you can on Microsoft. Or allow a user to pick default avatars.
Or we could incorporate some SocialProfile. Just the avatar functionality for the user avatar in the top to the right.
Change 225060 had a related patch set uploaded (by Jack Phoenix):
Support custom avatars if SocialProfile is enabled
@TerraCodes: Providing reasons why you ask would be welcome. I assume because a patch was merged?