+0

Denis

On Mon, Oct 18, 2010 at 11:43, Vincent Massol <[email protected]> wrote:

>
> On Oct 18, 2010, at 11:30 AM, Thomas Mortagne wrote:
>
> > 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)
>
> yes I hesitated with '"reference" and "id" but I found them too technical
> even if more correct technically...
>
> -Vincent
>
> >> 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
>



-- 
Denis Gervalle
SOFTEC sa - CEO
eGuilde sarl - CTO
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to