On Mon, Oct 18, 2010 at 11:11, Vincent Massol <[email protected]> wrote: > Hin > > I'd like to rename {{uservatar}} macro to {{avatar}} (ie deprecate the > {{uservatar}} alias) + rename the current "username" parameter to "name": > > {{avatar name="XWiki.VincentMassol" /}}
"id" would be probably more correct (but maybe too technical I don't know) > > Rationale: > * Macros should be as easy to use as possible and avatar is easier and > shorter than useravatar (for several reasons shorter, no need to remember if > there's an underscore, a dash, etc) > * We'll want to use that macro not only for user avatars but also for other > potential use cases (group avatars for example). Note that the macro can > autodiscover if the avatar reference is a user or a group but in case it > isn't possible for other types it's always possible to add a type parameter > later on. > > Here's my +1 > > Thanks > -Vincent > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > -- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

