Opened 15 years ago

Last modified 10 years ago

#4799 closed enhancement

TagCloud should optionally be case-insensitive — at Version 4

Reported by: Jeff Hammel Owned by: Michael Renzmann
Priority: normal Component: TagsPlugin
Severity: normal Keywords: TagCloud
Cc: Michael Renzmann Trac Release: 0.11

Description (last modified by Ryan J Ollos)

Because of the use of sorted intagsplugin/trunk/tractags/macros.py#L47, upper-case items precede lower-case items. These should optionally be intermingled. Patch attached.

Change History (5)

Changed 15 years ago by Jeff Hammel

Attachment: macros.py.patch added

patch to make TagCloud optionally case-insensitive

comment:1 Changed 15 years ago by Ryan J Ollos

See also #5347.

comment:2 Changed 14 years ago by Adrian Fritz

Owner: changed from Alec Thomas to Michael Renzmann

Reassign to new maintainer.

From #5347 (which is a duplicate of this), reported by: k0s

currently tags are case-sensitive. while it is desirable to have the ability to use case to denote information (e.g. America vs. plugin), it is undesirable to have different cases be different. That is, Plugin and plugin should be the same tag. I think by default that the first case should be the canonical one. Ideally, a way of managing tags should be implemented that allowed re-casing and canonizing, but a first step would just be treating tags independent of case, at least optionally.

comment:3 Changed 14 years ago by Steffen Hoffmann

Keywords: TagCloud added

Seems like it aims at a similar thing as #4200 or even might get obsoleted by it.

However the configuration option to retain old/default behavior should definitely be considered. Thanks for contributing your changes.

comment:4 Changed 13 years ago by Ryan J Ollos

Description: modified (diff)
Note: See TracTickets for help on using tickets.