|
Mathieu Petit-Clair made changes - 12/Feb/08 12:24 PM
There is an admin setting, under security->site policies, called keeptagnamecase, that determines wether to keep the original capitalization (default) or to use the lowercase equivalent (when possible, per locale).
I believed (after testing) that we fixed it so that this setting is used everywhere.
Mathieu Petit-Clair made changes - 25/Feb/08 04:59 PM
Well, it certainly is doing odd things still here on Moodle.org. I typed the following:
Egypt, cooking, Ancient Egypt, hooping, eLearning in my profile. And here is how it displayed it: egypt, Cooking, ancient egypt, hooping, ELearning Which follows no rules that I can ascertain.
N Hansen made changes - 01/Jun/08 08:45 AM
The tag that is shown is the case used by the first person ever to use the tag. So when you typed "Egypt" it found "egypt" and linked you to that, and shows "egypt" everywhere it needs to. You could go to the tag (http://moodle.org/tag/index.php?tag=egypt
Added n hansen as watcher.
This behavior is configurable by the administrator. In Admin -> Security -> Site policies, if you toggle "keeptagnamecase" (to no, instead of default "yes"), tags will be displayed with a capitalized first letter, the rest in lower case.
moodle.org chose to keep the names as they are entered the first time. In the example given above, the first user who chose to use the tag "egypt" entered it without a capital 'E', so that's how it's displayed for everybody. Egypt, being the name of a country, should be capitalized ... but the first user chose not to. If it's really an issue, the admin can correct it in the "manage tags" interface... It would be possible to save tags using the exact casing the user provides, but that would add a level of complexity, anytime we display/compare/count tags (so that people using 'egypt' are still linked with 'Egypt' too, for example). I'm sure there are issues with different locales too. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The database contains two fields : name and rawname. "name" is used for internal comparison, while "rawname" is used to display the tag.
Should this be changed for the tag cloud?