[xwiki-devs] [VOTE] Rename {{uservatar}} macro to {{avatar}} + rename parameter
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" /}} 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
+1 Thanks, Marius On 10/18/2010 12:11 PM, Vincent Massol 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" /}}
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
+1 On Mon, Oct 18, 2010 at 11:11 AM, 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" /}}
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
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
On Mon, Oct 18, 2010 at 11:30, Thomas Mortagne <[email protected]> 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)
(but +1 in general)
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
-- Thomas Mortagne
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
+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
On 10/18/2010 11:11 AM, Vincent Massol 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" /}}
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
+1 for the {{avatar}} name, +0 for the "name" parameter. -- Sergiu Dumitriu http://purl.org/net/sergiu/
+1 Alex On 10/18/2010 11:11 AM, Vincent Massol 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" /}}
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
participants (7)
-
Alex Busenius -
Denis Gervalle -
Jerome Velociter -
Marius Dumitru Florea -
Sergiu Dumitriu -
Thomas Mortagne -
Vincent Massol