Difference between revisions of "Module:Extension"

1,106 bytes added ,  11:37, 19 April 2018
adapt to spdx v3.1 of 2014-04-14
>Kaganer
m (migrate from template 'translation' to parser function #translation:)
>Kghbln
(adapt to spdx v3.1 of 2014-04-14)
Line 24: Line 24:
}
}
local licenses = {
local licenses = {
['GPL-2.0']      = { '[' .. addr.GNU .. 'gpl-2.0.html GNU General Public License 2.0]', 'GPL' },
['GPL-2.0']      = { '[' .. addr.GNU .. 'old-licenses/gpl-2.0-standalone.html GNU General Public License 2.0]', 'GPL' },
['GPL-3.0']      = { '[' .. addr.GNU .. 'gpl-3.0.html GNU General Public License 3.0]', 'GPL' },
['GPL-2.0-only'] = { '[' .. addr.GNU .. 'old-licenses/gpl-2.0-standalone.html GNU General Public License 2.0 only]', 'GPL' },
['GPL-2.0-or-later'] = { '[' .. addr.GNU .. 'old-licenses/gpl-2.0-standalone.html GNU General Public License 2.0 or later]', 'GPL' },
['GPL-3.0']      = { '[' .. addr.GNU .. 'gpl-3.0-standalone.html GNU General Public License 3.0]', 'GPL' },
['GPL-3.0-only'] = { '[' .. addr.GNU .. 'gpl-3.0-standalone.html GNU General Public License 3.0 only]', 'GPL' },
['GPL-3.0-or-later'] = { '[' .. addr.GNU .. 'gpl-3.0-standalone.html GNU General Public License 3.0 or later]', 'GPL' },
['AGPL-3.0']    = { '[' .. addr.GNU .. 'agpl-3.0.html GNU Affero General Public License 3.0]', 'AGPL' },
['AGPL-3.0']    = { '[' .. addr.GNU .. 'agpl-3.0.html GNU Affero General Public License 3.0]', 'AGPL' },
['LGPL-2.1']    = { '[' .. addr.GNU .. 'lgpl-2.1.html GNU Lesser General Public License 2.1]', 'LGPL' },
['LGPL-2.1']    = { '[' .. addr.GNU .. 'old-licenses/lgpl-2.1-standalone.html GNU Lesser General Public License 2.1]', 'LGPL' },
['LGPL-3.0']    = { '[' .. addr.GNU .. 'lgpl-3.0.html GNU Lesser General Public License 3.0]', 'LGPL' },
['LGPL-2.1-only'] = { '[' .. addr.GNU .. 'old-licenses/lgpl-2.1-standalone.html GNU Lesser General Public License 2.1 only]', 'LGPL' },
['LGPL-2.1-or-later'] = { '[' .. addr.GNU .. 'old-licenses/lgpl-2.1-standalone.html GNU Lesser General Public License 2.1 or later]', 'LGPL' },
['LGPL-3.0']    = { '[' .. addr.GNU .. 'lgpl-3.0-standalone.html GNU Lesser General Public License 3.0]', 'LGPL' },
['LGPL-3.0-only'] = { '[' .. addr.GNU .. 'lgpl-3.0-standalone.html GNU Lesser General Public License 3.0 only]', 'LGPL' },
['LGPL-3.0-or-later'] = { '[' .. addr.GNU .. 'lgpl-3.0-standalone.html GNU Lesser General Public License 3.0 or later]', 'LGPL' },
['FDL']          = { '[' .. addr.GNU .. 'fdl.html GNU Free Documentation License]', 'FDL' },
['FDL']          = { '[' .. addr.GNU .. 'fdl.html GNU Free Documentation License]', 'FDL' },
['MIT']          = { '[' .. addr.OSI .. 'mit-license.php MIT License]', 'MIT' },
['MIT']          = { '[' .. addr.OSI .. 'mit-license.php MIT License]', 'MIT' },
Anonymous user