Module:Sanctions/data

< Module:Sanctions
Revision as of 05:50, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:Sanctions/data/doc

-- todo split into multiple suggested aliases (eg scwisil -> scw or isil)
local sanctions = {
	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"
    },
    uyghur = {
        topic = "Uyghur genocide",
        scope = "the [[Uyghur genocide]]",
        wikilink = "WP:GS/UYGHUR",
        restrictions = {['ds'] = true}
    },
    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}