Jump to content

Module:Sanctions/data/sandbox

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by ProcrastinatingReader (talk | contribs) at 08:41, 9 February 2021 (Create sandbox version of Module:Sanctions/data, with custom topic restriction). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
-- todo split into multiple suggested aliases (eg scwisil -> scw or isil)
local sanctions = {
	covid = {
        topic = "Coronavirus disease 2019",
        scope = "coronavirus disease 2019 ([[COVID-19]])",
        wikilink = "WP:GS/COVID19",
		restrictions = {['ds'] = true, ['restriction1'] = "Editors should not use preprints or other non-peer-reviewed sources for medical content."}
	},
	crypto = {
        topic = "Blockchain and cryptocurrencies",
        scope = "[[blockchain]] and [[cryptocurrencies]]",
        wikilink = "WP:GS/CRYPTO",
		restrictions = {['ds'] = true, ['1rr'] = true}
    },
    iranpol = {
        topic = "Post-1978 Iranian politics",
        scope = "post-1978 Iranian politics",
        wikilink = "WP:GS/IRANPOL",
        restrictions = {['ds'] = true},
        palias = "irp"
    },
	mj = {
        topic = "Michael Jackson",
        scope = "[[Michael Jackson]]",
        wikilink = "WP:GS/MJ",
		restrictions = {['ds'] = true}
    },
    pw = {
        topic = "Professional wrestling",
        scope = "[[professional wrestling]]",
        wikilink = "WP:GS/PW",
		restrictions = {['ds'] = true}
	},
	sasg = {
        topic = "South Asian social groups",
        scope = "South Asian social groups",
        wikilink = "WP:GS/CASTE",
		restrictions = {['ds'] = true}
    },
    scwisil = {
        topic = "Syrian Civil War and ISIL",
        scope = "the [[Syrian Civil War]] and [[ISIL]]",
        wikilink = "WP:GS/SCW&ISIL",
        restrictions = {['ds'] = true, ['1rr'] = true},
        palias = "syria"
    },
    ukunits = {
        topic = "measurement units in the United Kingdom",
        scope = "measurement units in the United Kingdom",
        wikilink = "WP:GS/UKU",
        restrictions = {['ds'] = true},
        palias = "uku"
    }
}

local aliases = {
    ['cry'] = 'crypto',
    ['bc'] = 'crypto',
    ['irp'] = 'iranpol',
    ['syr'] = 'scwisil',
    ['syria'] = 'scwisil',
    ['scw'] = 'scwisil',
    ['isil'] = 'scwisil',
    ['isis'] = 'scwisil',
    ['uku'] = 'ukunits'
}

-- export
return {sanctions = sanctions, aliases = aliases}