Module talk:License

Latest comment: 30 days ago by Jarekt in topic Non-free licenses

Thoughts on flow of license (& copyright) edit

I'm pretty sure we (me and Jarekt) discussed this before, but let's list this here. This module should be a decision tree based on SDC that starts with copyright and based on the different fields, will invoke the regular templates with the right parameters. So it starts with (the preferred value of) copyright status (P6216):

Let's focus on the copyrighted tree first and worry about the PD part later. I see you grab the copyright license (P275) to get to Creative Commons Attribution-ShareAlike 2.0 Generic (Q19068220) and follow topic's main template (P1424) to get to Template:Cc-by-sa-2.0 (Q6058246) Template:Cc-by-sa-2.0. Probably need to document this to make it easier for others to understand? We should probably make some kind of audit page to make it easy to spot licenses where this chain is broken. Multichill (talk) 11:25, 11 December 2021 (UTC)Reply

Yes, so far I focused on Copyrighted fork focused on CC and GNU family. The code should handle both styles of modeling copyrights, although I have tested so far only the more common style. The Commons:Structured data/Modeling/Copyright should serve as main documentation, and I will be working on Module:License/doc to show what is implemented. I was planning to see if I can survey the copyright licenses in use at the moment in SDC but WCQS] seems to be down. I try to add other more rare licenses next like Open Government Licence v3.0 (Q99891702), Artistic License 1.0 (Q14624823), Free Art License (Q152332), etc. I will also write better handling of Category:Multi-license license tags. I wonder how important it is to correctly capture templates like Template:GFDL or cc-by-nc-3.0. --Jarekt (talk) 04:00, 13 December 2021 (UTC)Reply
One thought on attribution, while it makes some sense to think most times the creator (P170) value is the rights holder, this is not true for all cases, especially organizations (e.g., work owned by an institution performed by an employee). There's also the problem of people using this field for the depicted work, but the photo license belongs to the photographer (e.g., Wikimedian takes a picture of a historic sculpture). I would stick to either copyright holder (P3931) or attribution text (P8264) for filling in the license attribution. Dominic (talk) 21:16, 6 March 2022 (UTC)Reply

Non-free licenses edit

@Jarekt: I noticed that some files (like File:KNUST hub Library Wikibase Training 63.jpg) have been uploaded with only non-free licenses in the structured data. Could this module detect that and add a warning/deletion tag, like if you tried to upload a file with {{Cc-by-nc-4.0}} normally? Adding the deletion tag redirects to the license template wikidata items could work, but seems like an ugly hack to me. AntiCompositeNumber (talk) 15:57, 3 May 2024 (UTC)Reply

AntiCompositeNumber, this module was an experiment to see if one could store license info in the SDC and convert it into actual templates by a generic template. However the template is not used much at the moment with less then 300 transclusions. Template also has no knowledge of any other license templates which might be in the wikitext. I think that in this case the best bet is to rely on Category:Files with no machine-readable license. As for this batch of files I tagged them with {{No license}} --Jarekt (talk) 01:41, 4 May 2024 (UTC)Reply
Return to "License" page.