Jump to content

Module:Sanctions/data

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Dreamy Jazz (talk | contribs) at 19:36, 26 September 2021 (As iranpol is set to be removed from the topics list as it's been superseded, I'm updating the wikilink that the template uses for iranpol such that what links here can be used to find any further uses of the GS template for the iranpol area. This will prevent lua errors on talk pages for uses which were not caught by my AWB run to replace uses to DS. The new wikilink is a redirect to the GS page and is in my sandbox to ensure that all links are pages which use the GS template for iranpol.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

-- 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 = "User:Dreamy Jazz/sandbox/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}