Template talk:Cc-by-sa-2.0

From Wikimedia Commons, the free media repository
Jump to: navigation, search
Info non-talk.svg Template:Cc-by-sa-2.0 has been protected indefinitely because it is a highly-used or visible template. Use {{Edit request}} on this page to request an edit.

Problem when used inside Template:Flickr[edit]

I've noticed that when this template is used inside of Template:Flickr, the image does not get added to the category Category:CC-BY-SA-2.0. This was on a page that was generated by User:Flickr upload bot. You can see the behavior on this image. Image:Fullerton_Hotel_in_Singapore_at_night_-_modery.jpg. The template {{Cc-by-2.0}} seems to have the same problem as well. --Smiller933 05:42, 9 March 2008 (UTC)

Hmm, strange. There must be an error somewhere inside the license templates (including at least the german/austrian language subversion, it does seem to work with {{Cc-by-sa}} and {{Cc-by-sa-3.0}}. The 2.5 versions seem to be affected, too. {{cc-by-sa-2.5,1.0}} is not affected. If editing a strange message appears on the bottom listing the used templates: This page is a member of 1 hidden category: Category:CC-BY-SA-2.0 --Denniss 14:48, 9 March 2008 (UTC)
I looked some more. It appears that I was wrong about template {{Cc-by-2.0}} - it seems to work great within a flickr template. Here's an example: http://commons.wikimedia.org/wiki/Image:Des_Moines%2C_Iowa_skyline_after_Dark_-_pathawks.jpg. So perhaps by comparing the two templates, the bug could be isolated.
Also I took a look and saw the "This page is a member of 1 hidden category:" message. Good catch! I hadn't noticed it. --Smiller933 15:35, 11 March 2008 (UTC)
It looks like Category:CC-BY-SA-2.0 was marked with HIDDENCAT. Not sure if that is a good idea or not, but that is the cause. Carl Lindberg 15:21, 2 April 2008 (UTC)
Hmm, xes. Seen that, too. It looks like all license tags and their cats were changed to hidden cats. --Denniss 23:04, 2 April 2008 (UTC)