On Wed, Apr 13, 2011 at 22:32, Thibaut Camberlin <[email protected]> wrote: > Hi, > > On Wed, Apr 13, 2011 at 4:58 PM, Martin Bryant > <[email protected]>wrote: > >> +1 (If my vote counts) >> >> Martin >> >> Marius Dumitru Florea <[email protected]> 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 >> >* 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) >>
+1 > > +1 > > >> > >> >Optionally, we could enforce that tags can't contain white spaces. >> > > -1 : You may want to tag pages with expressions like "Word of mouth" for > example. Forcing to use underscores or camel case is neither user friendly > nor nice looking (Word_of_mouth / WordOfMouth) IMO. I agree with Thibaut, tags should be free form. > > >> > >> >WDYT? >> > >> >If no one is against it then I'd like to change the UI to apply these >> >constraints. >> > >> >Thanks, >> >Marius >> >_______________________________________________ >> >devs mailing list >> >[email protected] >> >http://lists.xwiki.org/mailman/listinfo/devs >> _______________________________________________ >> devs mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/devs >> > _______________________________________________ > 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

