Template talk:CC BY-SA 2.5

Latest comment: 6 years ago by WOSlinker in topic Template-protected edit request on 30 May 2018

More CC templates: Image copyright tags


Attribution notes

edit

The Creative Commons license includes the statement: "Attribution. You must attribute the work in the manner specified by the author or licensor." This template does not appear to support the inclusion of an attribution statement and I'd suggest that it be modified to allow such inclusion, for instance as a pipe-included parameter that would display the "attribute as" statement within the license box but below the license definition string. Courtland 16:09, 11 December 2005 (UTC)Reply

User:JiFish modified this template in April 2006 to include an optional attribution parameter. I have made a few changes to pages around Wikipedia to indicate that the attribution is available, and should be used, with this tag. I am considering changing this template so that the attribution line will always appear, whether or not an attribution parameter is specified. Comments on this in advance would be appreciated, since this template is heavily used.EAS 12:46, 16 December 2006 (UTC)Reply

Interwiki request

edit

{{editprotected}} Please add interwiki link for Serbian language Wikipedia. The link is:

[[sr:Шаблон:Cc-by-sa-2.5]]

Thank you. --Branislav Jovanovic 12:52, 12 May 2007 (UTC)Reply

 Y Done Harryboyles 00:21, 13 May 2007 (UTC)Reply
Thank you again. --Branislav Jovanovic 12:23, 14 May 2007 (UTC)Reply

{{editprotected}}

Plz, add ruwiki [[ru:Шаблон:CC-BY-SA-2.5]] Alex Spade 13:47, 19 May 2007 (UTC)Reply
  Done. Cheers. --MZMcBride 18:03, 19 May 2007 (UTC)Reply

Minor changes

edit

{{editprotected}}

I would like to make a few changed to this template. Here is some revised code that we could use for the table:

{| style="clear:both; margin: 0.5em auto; text-align: center; width:80%; background-color:#f8f8f8; border:2px solid #e0e0e0; padding:5px;"
|-
| [[Image:CC some rights reserved.svg|CC|90px]]<br />[[Image:Cc-by new white.svg|24px|BY]] [[Image:Cc-sa white.svg|24px|SA]]
| ''This work is licensed under the [[Creative Commons]]<br /> Attribution ShareAlike License version 2.5:<br />http://creativecommons.org/licenses/by-sa/2.5/{{#if:{{{1|}}}|<br />Attribution: {{{1|}}}}}''
|}

This would make 4 changes:

  1. Uses shorter alternate text on images for the benefit of screen readers and text-only browsers
  2. Changes "This image" to "This work" for flexibility
  3. "This image" no longer links to the current page
  4. Changes "v." to "version" for clarity

Remember the dot (talk) 05:01, 5 June 2007 (UTC)Reply

  Done. However, I retained the Media link because that allows for a direct link to the actual file. If you really want it removed, re-enable the editprotected request. Cheers. --MZMcBride 05:07, 5 June 2007 (UTC)Reply
OK, thanks. I suppose the "This work" link can stay. —Remember the dot (talk) 15:31, 5 June 2007 (UTC)Reply

ar:قالب:Cc-by-sa-2.5

edit

{{editprotected}} Please, add ar interwiki [[ar:قالب:Cc-by-sa-2.5]].--OsamaK 12:18, 8 July 2007 (UTC)Reply

done — Carl (CBM · talk) 13:22, 8 July 2007 (UTC)Reply
edit

The "This image" phrase is linkified in CC templates only, not in PD or others. Is there a specific reason, technical or legal, to include such a link? It prevents unused CC images from appearing in Special:Unusedimages. --DStoykov 05:57, 3 August 2007 (UTC)Reply

{{editprotected}}
Good point about Special:UnusedImages. Let's remove the link. —Remember the dot (talk) 01:39, 4 August 2007 (UTC)Reply
  Done. Cheers. --MZMcBride 01:51, 4 August 2007 (UTC)Reply
Good, thanks! What about the rest of the CC templates? There are 20+ of them and all are protected. I'm not supposed to make a separate request for each of them, am I? --DStoykov 09:47, 4 August 2007 (UTC)Reply
Pretty much. User:Zscout370 (Return Fire) 17:31, 4 August 2007 (UTC)Reply

Edit request from Mhiji, 13 December 2010

edit

{{edit protected}} Could someone please move the "This template should only be used on file pages." sentence from the template to the /doc? Thanks Mhiji (talk) 13:17, 13 December 2010 (UTC)Reply

I believe the intention is for this message to be displayed if used on the wrong namespace. However I have supressed this from the template display. Please confirm if this is okay before I attend to your numerous other requests. — Martin (MSGJ · talk) 14:48, 13 December 2010 (UTC)Reply
Sorry ignore me... Didn't realise it was an error message (maybe it could be made more prominent/red text? - it's not very obvious at the moment). Feel free to suppress it from display on this page and the others if you like but it's fine if not. Mhiji (talk) 16:48, 13 December 2010 (UTC)Reply
Could you remove your request on the other pages then, if you are withdrawing the request? — Martin (MSGJ · talk) 12:07, 14 December 2010 (UTC)Reply

Images of non-free works

edit

I've implemented a tweak in the sandbox version, namely {{#ifeq:|{{{dw|no}}}|no|{{free media}}|}} instead of coding {{free media}} directly. Specfiying dw=yes will supress the categorisation in Category:All free media, for derivative works where the subject shown is non-free, and thus can't be moved to Commons.

It would be appreciated if this straightforward change was implemented in the main template. Sfan00 IMG (talk) 11:09, 25 March 2013 (UTC)Reply

  Done Please remember to update the documentation as well. Best — Mr. Stradivarius ♪ talk ♪ 11:51, 25 March 2013 (UTC)Reply

Template-protected edit request on 30 May 2018

edit

This template generates a Missing end tag lint error for <i>, which is really '', most if not all of the time, including in the first 5 pages that link to "Template:Cc-by-sa-2.5" in namespace File, viz:

This is caused by the line

| text = ''This work is licensed under the [[Creative Commons]] [https://creativecommons.org/licenses/by-sa/2.5/ Attribution-ShareAlike 2.5] License. {{#if:{{{1|}}}| <br> Attribution: <span class="licensetpl_attr">{{{1|}}}</span> '' }}

and the problem would seem to be that if the "if" condition is false, the closing double apostrophes don't happen. So, um, I think the change might be to change the line to:

| text = ''This work is licensed under the [[Creative Commons]] [https://creativecommons.org/licenses/by-sa/2.5/ Attribution-ShareAlike 2.5] License. {{#if:{{{1|}}}| <br> Attribution: <span class="licensetpl_attr">{{{1|}}}</span>}} ''

but I leave it to the experts. If you don't know how to fix this, please leave this as "|answered=no" for a few days, because somebody will know how to fix it. Thanks! — Anomalocaris (talk) 06:14, 30 May 2018 (UTC)Reply

  Done Cabayi (talk) 08:11, 30 May 2018 (UTC)Reply
Cabayi: Thanks!
WOSlinker: This approximately undoes your most recent edit. Is there a problem you were trying to solve that now needs to be re-solved? —Anomalocaris (talk) 21:49, 30 May 2018 (UTC)Reply
For example, see File:Numerical Aperture.JPG, which has the line
{{cc-by-sa-2.5|"''First created by Tanmoy Laskar, April 2007''"}}, and this line has Misnested tag with different rendering in HTML5 and HTML4 (<span>) and Stripped tags (</span>), which go away if the two double-apostrophes are removed. —Anomalocaris (talk) 22:36, 30 May 2018 (UTC)Reply
Anomalocaris: Having reviewed my last edit, it doesn't seem correct. Not quite sure why I did that now. One option could be to replace the '' with <i> in the template, which should help in the case above. -- WOSlinker (talk) 07:52, 31 May 2018 (UTC)Reply