On 04/18/2011 09:59 AM, Sergiu Dumitriu wrote:
> On 04/13/2011 04:37 PM, Marius Dumitru Florea wrote:
>> Hi devs,
>>
>> Do we have a specification for what a tag is inside XWiki? On
>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Tag+Application
>> tags are defined as keywords but no constraints are specified.
>>
>> I'd like to enforce this two constraints on tags:
>> * tags can't have leading and trailing white space characters
>
> +1.
>
>> * tags' case is saved but case is ignored when comparing two tags (once
>> you defined a tag "news" you can't define a new tag "News"; the existing
>> tag is reused; tag's case is used only for display)
>
> +0.
>
> To answer Vincent's problem, changing the case of a tag could be done
> via the tag rename. What would happen with case sensitivity?
>

> For example, renaming http into HTTP while Http exists, should Http be
> changed to HTTP as well, or only exact, case-sensitive matches of http
> be renamed?

I think Http should be changed as well because it means the same thing. 
Displaying the same (-semantically) tag in different ways is confusing. 
I prefer consistency.

Thanks,
Marius

>
>> Optionally, we could enforce that tags can't contain white spaces.
>
> -1.
>
>> WDYT?
>>
>> If no one is against it then I'd like to change the UI to apply these
>> constraints.
>
>
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to