matgb: Artwork of 19th century upper class anarchist, text: MatGB (Default)
Mat Bowles ([personal profile] matgb) wrote in [site community profile] dw_suggestions2009-12-05 07:56 pm

Allow an icon keyword to be assigned as primary keyword for selection, etc

Title:
Allow an icon keyword to be assigned as primary keyword for selection, etc

Area:
icons

Summary:
For icons that have multiple keywords, make it possible to have one only that appears on the drop down menu for posting and commenting.

Description:
Many of my icons have aquired more than one keyword over the years, some because they may have multiple usage contexts, others because I've given them the keyword of an old, deleted icon.

While I might like to merge the keywords together, in some cases I would like to keep both keywords extant, in order that I may change icons again in the future.

Example: I have an icon tagged both ORLY and YARLY. At one point, I had a different owl for both, but currently I have Daleks and Cybermen conversing--I may in the future want to split them up, but currently both keywords appear in every drop down menu, cluttering up my already long dropdown (and, presumably, mildly increasing server load, etc each time).

If the first listed keyword for each icon was allowed as an option to be the primary keyword, others could be retained but my selection menues would be a lot easier to navigate and less annoying.

If this isn't possible, a way of listing old keywords that have been renamed would be useful, as they can still then be resurrected.

(NB this would also help those crossposting who have more icons on one or other site, they can use the full keyword set on both sites but still have manageable selection menues)

Edit: To clarify, my suggestion is to allow people to choose, if they wish, a primary keyword, not to force all icons to only have one primary keyword, I want to supplement and improve current behaviour, not replace it.

Poll #1834 Allow an icon keyword to be assigned as primary keyword for selection, etc
Open to: Registered Users, detailed results viewable to: All, participants: 25


This suggestion:

View Answers

Should be implemented as-is.
9 (36.0%)

Should be implemented with changes. (please comment)
2 (8.0%)

Shouldn't be implemented.
5 (20.0%)

(I have no opinion)
8 (32.0%)

(Other: please comment)
1 (4.0%)

yvi: Kaylee half-smiling, looking very pretty (Default)

[personal profile] yvi 2009-12-06 05:09 pm (UTC)(link)
From what I read of Allen's code (and I'm not that good with Perl), this specifically merges keywords together and from then on you can only use the one.

Hmm, I am not sure where you are getting that from. The source code is here: http://changelog.dreamwidth.org/479221.html and in the comments, it says:

+# the new keywords must be the same number as the old keywords; that is,
+# if the userpic has three keywords and you want to rename them, you must
+# rename them to three keywords (some can match). otherwise there would be
+# some ambiguity about which old keywords should match up with the new
+# keywords. if the number of keywords don't match, then an error is thrown
+# and no changes are made to the keywords for this userpic.


I am trying a few things now and when trying to merge keyword I get this:

Error renaming 'key2, key5, key6' to 'key2': must rename to the same number of keywords.
yvi: Kaylee half-smiling, looking very pretty (Default)

[personal profile] yvi 2009-12-06 05:42 pm (UTC)(link)
I have a dev installation.