Module:Sanctions/data/sandbox: Difference between revisions
Appearance
< Module:Sanctions | data
Content deleted Content added
Create sandbox version of Module:Sanctions/data, with custom topic restriction |
tweak |
||
(4 intermediate revisions by the same user not shown) | |||
Line 31: | Line 31: | ||
wikilink = "WP:GS/PW", |
wikilink = "WP:GS/PW", |
||
restrictions = {['ds'] = true} |
restrictions = {['ds'] = true} |
||
}, |
|||
rusukr = { |
|||
topic = "Russo-Ukrainian war", |
|||
scope = "[[Russo-Ukrainian war]]", |
|||
wikilink = "WP:GS/RUSUKR", |
|||
restrictions = {['ds'] = true, ['restriction1'] = "Only [[WP:ECP|extended-confirmed editors]] may make edits related to the topic area, though editors who are not extended-confirmed may post constructive comments and make [[WP:Edit request|edit requests]] related to articles within the topic area on [[Help:Talk pages|article talk pages]]. Should disruption occur on article talk pages, administrators may take enforcement actions against disruptive editors and/or apply [[WP:Page protection|page protection]] on article talk pages. However, non-extended-confirmed editors may <u>not</u> make edits to internal project discussions related to the topic area, even on article talk pages. Internal project discussions include, but are not limited to, [[WP:AFD|Articles for deletion]] nominations, [[WP:WikiProject|WikiProjects]], [[WP:Requests for comment|requests for comment]], [[WP:RM|requested moves]], and noticeboard discussions."} |
|||
}, |
}, |
||
sasg = { |
sasg = { |
Revision as of 17:25, 9 February 2023
![]() | This is the module sandbox page for Module:Sanctions/data (diff). |
Topic code | Area of conflict | Designated by | Relevant information | Relevant decision |
---|---|---|---|---|
covid | coronavirus disease 2019 (COVID-19) | the Arbitration Committee | WP:GS/COVID19 | |
crypto | blockchain and cryptocurrencies | the Arbitration Committee | WP:GS/CRYPTO | |
iranpol | post-1978 Iranian politics | the Arbitration Committee | WP:GS/IRANPOL | |
mj | Michael Jackson | the Arbitration Committee | WP:GS/MJ | |
pw | professional wrestling | the Arbitration Committee | WP:GS/PW | |
rusukr | Russo-Ukrainian war | the Arbitration Committee | WP:GS/RUSUKR | |
sasg | South Asian social groups | the Arbitration Committee | WP:GS/CASTE | |
scwisil | the Syrian Civil War and ISIL | the Arbitration Committee | WP:GS/SCW&ISIL | |
ukunits | measurement units in the United Kingdom | the Arbitration Committee | WP:GS/UKU |
-- 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}
},
rusukr = {
topic = "Russo-Ukrainian war",
scope = "[[Russo-Ukrainian war]]",
wikilink = "WP:GS/RUSUKR",
restrictions = {['ds'] = true, ['restriction1'] = "Only [[WP:ECP|extended-confirmed editors]] may make edits related to the topic area, though editors who are not extended-confirmed may post constructive comments and make [[WP:Edit request|edit requests]] related to articles within the topic area on [[Help:Talk pages|article talk pages]]. Should disruption occur on article talk pages, administrators may take enforcement actions against disruptive editors and/or apply [[WP:Page protection|page protection]] on article talk pages. However, non-extended-confirmed editors may <u>not</u> make edits to internal project discussions related to the topic area, even on article talk pages. Internal project discussions include, but are not limited to, [[WP:AFD|Articles for deletion]] nominations, [[WP:WikiProject|WikiProjects]], [[WP:Requests for comment|requests for comment]], [[WP:RM|requested moves]], and noticeboard discussions."}
},
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}