Last modified: 2013-12-10 05:38:39 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T36008, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34008 - Avatar Magic Word
Avatar Magic Word
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SocialProfile (Other open bugs)
unspecified
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Jack Phoenix
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-28 12:33 UTC by Gerard Boyers
Modified: 2013-12-10 05:38 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Gerard Boyers 2012-01-28 12:33:13 UTC
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.
Comment 1 Brion Vibber 2012-02-09 23:48:26 UTC
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.

Possibly another parser function like {{#hasavatar:Username|then|else}} ?
Comment 2 Gerrit Notification Bot 2013-11-16 15:06:45 UTC
Change 95785 had a related patch set uploaded by UltrasonicNXT:
Create {{#avatar:Username}} parser function

https://gerrit.wikimedia.org/r/95785
Comment 3 Gerrit Notification Bot 2013-11-17 21:31:58 UTC
Change 95785 merged by Jack Phoenix:
Create {{#avatar:Username}} parser function

https://gerrit.wikimedia.org/r/95785
Comment 4 Jack Phoenix 2013-12-10 05:38:39 UTC
The feature was merged on 17 November 2013.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links