Page MenuHomePhabricator

Avatar Magic Word
Closed, ResolvedPublic

Description

Author: gerard

Description:
Suggestion to add a new magic word to display the avatar of a given user.

Such as: <nowiki>{{Special:Avatar/Username}} or {{#Avatar:Username}}</nowiki>

This would enable much greater interaction with social profiles throughout the wiki - in discussions, user listings, requests for adminship and other community business.

Should be able to specify a dimension (such as <nowiki>{{Special:Avatar/Username|200px}}</nowiki>

Ideally would be able to do #ifexist on this to be able to determine whether an avatar exists.


Version: unspecified
Severity: enhancement

Details

Reference
bz34008

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:08 AM
bzimport added a project: SocialProfile.
bzimport set Reference to bz34008.

I'd recommend {{#avatar:Username}}, {{#avatar:Username|64px}} etc.

Not sure how #ifexist would fit in here... presumably you should get a generic icon if the user doesn't have one.

Change 95785 had a related patch set uploaded by UltrasonicNXT:
Create {{#avatar:Username}} parser function

https://gerrit.wikimedia.org/r/95785

Change 95785 merged by Jack Phoenix:
Create {{#avatar:Username}} parser function

https://gerrit.wikimedia.org/r/95785

The feature was merged on 17 November 2013.