Issue Details (XML | Word | Printable)

Key: MDL-11962
Type: Sub-task Sub-task
Status: Open Open
Priority: Major Major
Assignee: Mathieu Petit-Clair
Reporter: Matt Gibson
Votes: 2
Watchers: 2
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-13404

cannot rename tags - make it possible to merge tags

Created: 30/Oct/07 05:48 PM   Updated: 21/Apr/08 04:34 PM
Return to search
Component/s: Tags
Affects Version/s: 1.9
Fix Version/s: None

Participants: Charles Kelly, Eloy Lafuente (stronk7), Mathieu Petit-Clair and Matt Gibson
Security Level: None
Affected Branches: MOODLE_19_STABLE


 Description  « Hide
On the manage tags page, I write a new name for the tag (Sport instead of Sports) and select the checkbox. Then I choose 'Change tag name' from the dropdown at the top and click OK, but no change occurs.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Matt Gibson added a comment - 30/Oct/07 05:49 PM
I should add, I get an error saying that the tag name is already in use, which is correct - I was trying to merge two very similar tags. What would be good is for the error to be an 'are you sure you want to merge these tags?' warning.

Mathieu Petit-Clair added a comment - 25/Mar/08 11:47 AM
Maybe this request should be split in two :

1 - make it possible for one user to rename a tag for all element (s)he tagged (new capability : moodle/tag:rename)
2 - make it possible to change a rename into a merge, with a warning (new capability: moodle/tag:merge)


Eloy Lafuente (stronk7) added a comment - 28/Mar/08 09:35 AM
About 2... I guess it consists in:

a) Select two or more tags in the manage page.
b) In the drop now... select Merge tags
c) Request the new tag name (should be really new?)
d) Move all the old instances to the new tag name (sitewide?)
e) Delete old tags

is this correct? Will the change be sitewide, making the old tags to disappear? Does the new tag name need to be really new?

Then about 1...

What's the difference if we only select one tag in the manage page (point "a" above) and then apply the rest (b, c, d, e?) Won't be that "1-merge" exactly the same that one "rename" , with the same code?

Sitewide also, of course, or userwide only... the field of the change is the one needing to be determined, both in 1) and 2)

Just a quick thought... FYC...


Charles Kelly added a comment - 21/Apr/08 04:34 PM
1. It would be really useful for the site admin to be able to merge 2 or more tags.

This would be a way to easily take care of spelling errors and move similar tags into the one.
For example on our site now we have: snowboad, snowboard and snowboarding.

When renaming to an existing name, it would seem logical to have the renamed tag merged into the existing tag.

2. Another useful feature would be to be able to change one tag into multiple tags, merging that students tags in with existing tags.

For example, a student writes "baseball * soccer * saxophone" and doesn't use commas.
Make it possible for the site admin to make this "baseball, soccer, saxophone."
At this time (April 21, 2008), doing so makes a tag with commas included and not 3 separate tags.