Jump to content

Template talk:ExtensionLicense/Flow

About this board

PatrickW (talkcontribs)

Hey, I noticed this template and wanted to use it, but I noticed that it’s incompatible with the categorization logic the extension template uses. The latter just checks for a few keywords to decide on the categorization without providing an actually clean output (e.g. if I choose “GPL” in the infobox, it will correctly categorize it but only show “GPL” in the output). When using this template, it will show a nice link and full name of the license, and also provide a license category for the extension, but then the standard default categorization mechanism of the extension template kicks in and also adds it to Category:Extensions with unknown license.

Were there any plans to integrate this template into the extension template so that only one of it will do the categorization?

This post was posted by PatrickW, but signed as Poke.

Be..anyone (talkcontribs)
P858snake (talkcontribs)

My plan was to get rid of the code out of the Template:Extension as it wasn't the best implementation back in the day and focus on have Template:EL so the code was a bit more maintainable. But its a project I never had time to finished, to go though to the categories the Unknown category and cleanup the license usage in the actual article pages.

Ricordisamoa (talkcontribs)
PatrickW (talkcontribs)

I personally think that a module is a bit over the top. A simple #switch that provides both the license link and the category for the extension should suffice. And that can be done in this template, so Template:Extension just passes the license parameter to this one.

This post was posted by PatrickW, but signed as Poke.

Ricordisamoa (talkcontribs)
Be..anyone (talkcontribs)

A variant of Template:Extension with phab: instead of mediazilla: exists, you'd need that also in a module. Whatever ends up with less than 700 bogus "unknown license" extensions is progress. smile Be..anyone (talk) 23:53, 26 October 2014 (UTC)

Seb35 (talkcontribs)

I corrected some of them yesterday, decreasing from 1063 to 1033… What about solving this "issue" by renaming the category to [[Category:Extensions with unrecognized license]] (this would be a maintenance category), and by the way creating a special license/parameter value "license = unknown" and associated category [[Category:Extensions with unknown license]] for extensions which really have no license or very strange license (like the classical copyright :).

Seb35 (talkcontribs)

In the current state, a lot of errors come from "license = GPL" without a version. How should we understand that: is it whatever version of GPL (GPL-1.0+, as stated by Fedora), or current GPL version and later (GPL-3.0+), or historical GPL version when the extension was written (GPL-2.0+ or GPL-3.0+)? Personally I would answer GPL-1.0+ but IANAL.

Reply to "Incompatible with Template:Extension"
Ricordisamoa (talkcontribs)
Nemo bis (talkcontribs)

SPDX is already recommended in Manual:Coding_conventions#Licenses, so you can certainly go ahead and implement it. However, the issue is with hundreds of extension pages using unrecognised values: are you able to fix those as well?

Ricordisamoa (talkcontribs)

I went bold and implemented my proposal, then requested the bot flag to fix extension pages.

Be..anyone (talkcontribs)

They have WTFPL (version 2, adding 1 was rejected as not relevant), not bad. Sadly not directly helpful for commons (no FAL), and they're still trying to figure out Unicode licenses. Nice list, use it.

Reply to "SPDX names"
There are no older topics