Difference between revisions of "Module:Extension"

133 bytes added ,  09:26, 9 February 2015
+BSD-2-Clause
>Ricordisamoa
m (simplify)
>Ricordisamoa
(+BSD-2-Clause)
Line 21: Line 21:
}
}
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 .. 'gpl-2.0.html GNU General Public License 2.0]', 'GPL' },
['GPL-2.0+']   = { '[' .. addr.GNU .. 'gpl-2.0.html GNU General Public License 2.0] or later', 'GPL' },
['GPL-2.0+']     = { '[' .. addr.GNU .. 'gpl-2.0.html GNU General Public License 2.0] or later', 'GPL' },
['GPL-3.0']   = { '[' .. addr.GNU .. 'gpl-3.0.html GNU General Public License 3.0]', 'GPL' },
['GPL-3.0']     = { '[' .. addr.GNU .. 'gpl-3.0.html GNU General Public License 3.0]', 'GPL' },
['GPL-3.0+']   = { '[' .. addr.GNU .. 'gpl-3.0.html GNU General Public License 3.0] or later', 'GPL' },
['GPL-3.0+']     = { '[' .. addr.GNU .. 'gpl-3.0.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' },
['AGPL-3.0+'] = { '[' .. addr.GNU .. 'agpl-3.0.html GNU Affero General Public License 3.0] or later', 'AGPL' },
['AGPL-3.0+']   = { '[' .. addr.GNU .. 'agpl-3.0.html GNU Affero General Public License 3.0] or later', 'AGPL' },
['LGPL-2.1']   = { '[' .. addr.GNU .. 'lgpl-2.1.html GNU Lesser General Public License 2.1]', 'LGPL' },
['LGPL-2.1']     = { '[' .. addr.GNU .. 'lgpl-2.1.html GNU Lesser General Public License 2.1]', 'LGPL' },
['LGPL-2.1+'] = { '[' .. addr.GNU .. 'lgpl-2.1.html GNU Lesser General Public License 2.1] or later', 'LGPL' },
['LGPL-2.1+']   = { '[' .. addr.GNU .. 'lgpl-2.1.html GNU Lesser General Public License 2.1] or later', 'LGPL' },
['LGPL-3.0']   = { '[' .. addr.GNU .. 'lgpl-3.0.html GNU Lesser General Public License 3.0]', 'LGPL' },
['LGPL-3.0']     = { '[' .. addr.GNU .. 'lgpl-3.0.html GNU Lesser General Public License 3.0]', 'LGPL' },
['LGPL-3.0+'] = { '[' .. addr.GNU .. 'lgpl-3.0.html GNU Lesser General Public License 3.0] or later', 'LGPL' },
['LGPL-3.0+']   = { '[' .. addr.GNU .. 'lgpl-3.0.html GNU Lesser General Public License 3.0] or later', 'LGPL' },
['FDL']       = { '[' .. addr.GNU .. 'fdl.html GNU Free Documentation License]' },
['FDL']         = { '[' .. addr.GNU .. 'fdl.html GNU Free Documentation License]' },
['MIT']       = { '[' .. addr.OSI .. 'mit-license.php MIT License]', 'MIT' },
['MIT']         = { '[' .. addr.OSI .. 'mit-license.php MIT License]', 'MIT' },
['MPL-1.0']   = { '[' .. addr.Mozilla .. 'MPL/1.0/ Mozilla Public License 1.0]', 'MPL' },
['BSD-2-Clause'] = { '[' .. addr.OSI .. 'BSD-2-Clause BSD 2-clause "Simplified" License]', 'BSD' },
['MPL-2.0']   = { '[' .. addr.Mozilla .. 'MPL/2.0/ Mozilla Public License 2.0]', 'MPL' },
['MPL-1.0']     = { '[' .. addr.Mozilla .. 'MPL/1.0/ Mozilla Public License 1.0]', 'MPL' },
['Apache-2.0'] = { '[http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0]', 'Apache' },
['MPL-2.0']     = { '[' .. addr.Mozilla .. 'MPL/2.0/ Mozilla Public License 2.0]', 'MPL' },
['ECL-2.0']   = { '[[wikipedia:Educational Community License|Educational Community License 2.0]]', 'ECL' },
['Apache-2.0']   = { '[http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0]', 'Apache' },
['ECL-2.0']     = { '[[wikipedia:Educational Community License|Educational Community License 2.0]]', 'ECL' },
}
}
local types = {
local types = {
Anonymous user