Difference between revisions of "Module:Extension"

67 bytes added ,  17:04, 19 December 2014
+ Apache-2.0
>Ricordisamoa
(fix getLicenseCategory)
>Ricordisamoa
(+ Apache-2.0)
Line 18: Line 18:
}
}
local licenses = {
local licenses = {
['GPL']       = { '[' .. addr.GNU .. 'copyleft/gpl.html GNU General Public License]', 'GPL' },
['GPL']       = { '[' .. addr.GNU .. 'copyleft/gpl.html GNU General Public License]', 'GPL' },
['GPL-2.0']   = { '[' .. addr.GNU .. 'licenses/gpl-2.0.html GNU General Public License 2.0]', 'GPL' },
['GPL-2.0']   = { '[' .. addr.GNU .. 'licenses/gpl-2.0.html GNU General Public License 2.0]', 'GPL' },
['GPL-2.0+'] = { '[' .. addr.GNU .. 'licenses/gpl-2.0.html GNU General Public License 2.0] or later', 'GPL' },
['GPL-2.0+']   = { '[' .. addr.GNU .. 'licenses/gpl-2.0.html GNU General Public License 2.0] or later', 'GPL' },
['GPL-3.0']   = { '[' .. addr.GNU .. 'licenses/gpl-3.0.html GNU General Public License 3.0]', 'GPL' },
['GPL-3.0']   = { '[' .. addr.GNU .. 'licenses/gpl-3.0.html GNU General Public License 3.0]', 'GPL' },
['GPL-3.0+'] = { '[' .. addr.GNU .. 'licenses/gpl-3.0.html GNU General Public License 3.0] or later', 'GPL' },
['GPL-3.0+']   = { '[' .. addr.GNU .. 'licenses/gpl-3.0.html GNU General Public License 3.0] or later', 'GPL' },
['AGPL-3.0'] = { '[' .. addr.GNU .. 'licenses/agpl-3.0.html GNU Affero General Public License 3.0]', 'AGPL' },
['AGPL-3.0']   = { '[' .. addr.GNU .. 'licenses/agpl-3.0.html GNU Affero General Public License 3.0]', 'AGPL' },
['AGPL-3.0+'] = { '[' .. addr.GNU .. 'licenses/agpl-3.0.html GNU Affero General Public License 3.0] or later', 'AGPL' },
['AGPL-3.0+'] = { '[' .. addr.GNU .. 'licenses/agpl-3.0.html GNU Affero General Public License 3.0] or later', 'AGPL' },
['LGPL']     = { '[' .. addr.GNU .. 'copyleft/lesser.html GNU Lesser General Public License]', 'LGPL' },
['LGPL']       = { '[' .. addr.GNU .. 'copyleft/lesser.html GNU Lesser General Public License]', 'LGPL' },
['LGPL-3.0'] = { '[' .. addr.GNU .. 'licenses/lgpl-3.0.html GNU Lesser General Public License 3.0]', 'LGPL' },
['LGPL-3.0']   = { '[' .. addr.GNU .. 'licenses/lgpl-3.0.html GNU Lesser General Public License 3.0]', 'LGPL' },
['FDL']       = { '[' .. addr.GNU .. 'licenses/fdl.html GNU Free Documentation License]' },
['FDL']       = { '[' .. addr.GNU .. 'licenses/fdl.html GNU Free Documentation License]' },
['MIT']       = { 'MIT License', 'MIT' },
['MIT']       = { 'MIT License', 'MIT' },
['MPL-1.0']   = { 'Mozilla Public License 1.0', 'MPL' },
['MPL-1.0']   = { 'Mozilla Public License 1.0', 'MPL' },
['MPL-2.0']   = { 'Mozilla Public License 2.0', 'MPL' },
['MPL-2.0']   = { 'Mozilla Public License 2.0', 'MPL' },
['Apache-2.0'] = { 'Apache License 2.0', 'Apache' },
}
}
local types = {
local types = {
Anonymous user