Module:Sanctions/data and Module:Sanctions/data/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
add acas Tag: Disambiguation links added |
No edit summary |
||
Line 1: | Line 1: | ||
-- todo split into multiple suggested aliases (eg scwisil -> scw or isil) |
-- todo split into multiple suggested aliases (eg scwisil -> scw or isil) |
||
local sanctions = { |
local sanctions = { |
||
["crypto"] = { |
|||
topic = "Armenia and Azerbaijan", |
|||
scope = "politics, ethnic relations, and conflicts involving [[Armenia]], [[Azerbaijan]], or both", |
|||
wikilink = "WP:GS/AA", |
|||
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."} |
|||
}, |
|||
acas = { |
|||
topic = "Assyrian, Chaldean, Aramean, and Syriac identity, culture, and politics", |
|||
scope = "[[Assyrian people|Assyrian]], [[Chaldean]], [[Aramean]], and [[Terms for Syriac Christians#Syriac identity|Syriac]] identity, culture, and politics", |
|||
wikilink = "WP:GS/ACAS", |
|||
restrictions = {['ds'] = true} |
|||
}, |
|||
crypto = { |
|||
topic = "Blockchain and cryptocurrencies", |
topic = "Blockchain and cryptocurrencies", |
||
scope = "[[blockchain]] and [[cryptocurrencies]]", |
scope = "[[blockchain]] and [[cryptocurrencies]]", |
||
type = "comm", |
|||
wikilink = "WP:GS/CRYPTO", |
wikilink = "WP:GS/CRYPTO", |
||
decision = "Special:PermaLink/842448517#General_sanctions_proposal", |
|||
restrictions = {['ds'] = true, ['1rr'] = true} |
|||
restrictions = {['ds'] = true, ['1rr'] = true}, |
|||
aliases = {'btc', 'bt', 'et'} |
|||
}, |
}, |
||
["mj"] = { |
|||
topic = "Kurds and Kurdistan", |
|||
scope = "[[Kurds]] and [[Kurdistan]]", |
|||
wikilink = "WP:GS/KURD", |
|||
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."} |
|||
}, |
|||
mj = { |
|||
topic = "Michael Jackson", |
topic = "Michael Jackson", |
||
scope = "[[Michael Jackson]]", |
scope = "[[Michael Jackson]]", |
||
type = "comm", |
|||
wikilink = "WP:GS/MJ", |
wikilink = "WP:GS/MJ", |
||
decision = "Special:PermaLink/932717898#RfC_on_establishing_general_sanctions_on_the_topic_of_Michael_Jackson,_broadly_construed", |
|||
restrictions = {['ds'] = true} |
restrictions = {['ds'] = true} |
||
}, |
}, |
||
pw = { |
["pw"] = { |
||
topic = " |
topic = "professional wrestling", |
||
scope = "[[professional wrestling]]", |
scope = "[[professional wrestling]]", |
||
type = "comm", |
|||
wikilink = "WP:GS/PW", |
wikilink = "WP:GS/PW", |
||
decision = "Special:PermaLink/846970509#General_sanctions_for_articles_on_professional_wrestling", |
|||
restrictions = {['ds'] = true} |
restrictions = {['ds'] = true} |
||
}, |
}, |
||
rusukr = { |
["rusukr"] = { |
||
topic = "Russo-Ukrainian |
topic = "Russo-Ukrainian war", |
||
scope = "the [[Russo-Ukrainian War]]", |
scope = "the [[Russo-Ukrainian War]]", |
||
type = "comm", |
|||
wikilink = "WP:GS/RUSUKR", |
wikilink = "WP:GS/RUSUKR", |
||
decision = "Special:PermaLink/1114726646#Proposal:_Extended-confirmed_restriction_for_all_articles_related_to_the_Russia-Ukraine_War", |
|||
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."} |
|||
restrictions = {['ds'] = true, ["protection"] = "ecp"} |
|||
}, |
}, |
||
sasg = { |
["sasg"] = { |
||
topic = "South Asian social groups", |
topic = "South Asian social groups", |
||
scope = "South Asian social groups", |
scope = "South Asian social groups", |
||
type = "comm", |
|||
wikilink = "WP:GS/CASTE", |
wikilink = "WP:GS/CASTE", |
||
decision = "Wikipedia:Administrators'_noticeboard/Archive350#Procedural_quirk_in_WP:GS/CASTE", |
|||
restrictions = {['ds'] = true} |
|||
restrictions = {['ds'] = true}, |
|||
aliases = {"caste"} |
|||
}, |
}, |
||
scwisil = { |
["scwisil"] = { |
||
topic = "Syrian Civil War and ISIL", |
topic = "Syrian Civil War and ISIL", |
||
scope = "the [[Syrian Civil War]] and [[ISIL]]", |
scope = "the [[Syrian Civil War]] and [[ISIL]]", |
||
type = "comm", |
|||
wikilink = "WP:GS/SCW&ISIL", |
wikilink = "WP:GS/SCW&ISIL", |
||
decision = "Wikipedia:Administrators' noticeboard/Archive253#Request to amend sanctions on Syrian civil war articles", |
|||
restrictions = {['ds'] = true, ['1rr'] = true}, |
restrictions = {['ds'] = true, ['1rr'] = true}, |
||
aliases = {'syr', 'syria', 'scw', 'isil', 'isis'}, |
|||
palias = "syria" |
|||
}, |
}, |
||
ukunits = { |
["ukunits"] = { |
||
topic = "measurement units in the United Kingdom", |
topic = "measurement units in the United Kingdom", |
||
scope = "measurement units in the United Kingdom", |
scope = "measurement units in the United Kingdom", |
||
type = "comm", |
|||
wikilink = "WP:GS/UKU", |
wikilink = "WP:GS/UKU", |
||
decision = "Wikipedia:Administrators' noticeboard/Archive266#General sanctions for matters pertaining to units of measurement in Britain", |
|||
restrictions = {['ds'] = true}, |
restrictions = {['ds'] = true}, |
||
aliases = {'uku'} |
|||
}, |
}, |
||
["uyghur"] = { |
|||
topic = "Uyghur genocide", |
topic = "Uyghur genocide", |
||
scope = "[[Uyghurs]], [[Uyghur genocide]], or topics that are related to Uyghurs or Uyghur genocide", |
scope = "[[Uyghurs]], [[Uyghur genocide]], or topics that are related to Uyghurs or Uyghur genocide", |
||
type = "comm", |
|||
wikilink = "WP:GS/UYGHUR", |
wikilink = "WP:GS/UYGHUR", |
||
decision = "Special:PermaLink/1028175952#Proposal:_place_the_Uyghur_genocide_and_any_articles_relating_to_it,_WP:Broadly_construed,_under_community_discretionary_sanctions", |
|||
restrictions = {['ds'] = true} |
restrictions = {['ds'] = true} |
||
} |
}, |
||
["a-a"] = { |
|||
topic = "Armenia, Azerbaijan, or related conflicts", |
|||
scope = "[[Armenia]], [[Azerbaijan]], or related conflicts", |
|||
type = "both", |
|||
wikilink = "WP:CT/A-A", |
|||
decision = "Wikipedia:Requests for arbitration/Armenia-Azerbaijan 2", |
|||
restrictions = {['ds'] = true, ["protection"] = "ecp"}, |
|||
aliases = {"aa2"} |
|||
}, |
|||
["a-i"] = { |
|||
topic = "the Arab–Israeli conflict", |
|||
scope = "the [[Arab–Israeli conflict]]", |
|||
type = "arbcom", |
|||
wikilink = "WP:CT/A-I", |
|||
decision = "Wikipedia:Arbitration/Index/Palestine-Israel articles", |
|||
restrictions = {['ds'] = true, ["protection"] = "ecp", ["1rr"] = true} |
|||
}, |
|||
["ab"] = { |
|||
topic = "abortion", |
|||
scope = "[[abortion]]", |
|||
type = "arbcom", |
|||
wikilink = "WP:CT/AB", |
|||
decision = "Wikipedia:Arbitration/Requests/Case/Abortion", |
|||
restrictions = {['ds'] = true} |
|||
}, |
|||
["ap"] = { |
|||
topic = "post-1992 politics of the United States and closely related people", |
|||
scope = "post-1992 politics of the United States and closely related people", |
|||
type = "arbcom", |
|||
wikilink = "WP:CT/AP", |
|||
decision = "Wikipedia:Arbitration/Requests/Case/American politics 2", |
|||
restrictions = {['ds'] = true}, |
|||
aliases = {"tpm"} |
|||
}, |
|||
["blp"] = { |
|||
topic = "articles about living or recently deceased people, and edits relating to the subject (living or recently deceased) of such biographical articles", |
|||
scope = "articles about [[WP:BLP|living or recently deceased people]], and edits relating to the subject (living or recently deceased) of such biographical articles", |
|||
type = "arbcom", |
|||
wikilink = "WP:CT/BLP", |
|||
decision = "Wikipedia:Requests_for_arbitration/Editing_of_Biographies_of_Living_Persons#Remedies", |
|||
restrictions = {['ds'] = true}, |
|||
aliases = {"tpm"} |
|||
}, |
|||
["cam"] = { |
|||
topic = "Complementary and Alternative Medicine", |
|||
scope = "[[Complementary and Alternative Medicine]]", |
|||
type = "arbcom", |
|||
wikilink = "WP:CT/CAM", |
|||
decision = "Wikipedia:Arbitration/Requests/Case/Acupuncture", |
|||
restrictions = {['ds'] = true}, |
|||
aliases = {"acu"} |
|||
}, |
|||
["cc"] = { |
|||
topic = "climate change", |
|||
scope = "[[climate change]]", |
|||
type = "arbcom", |
|||
wikilink = "WP:CT/CC", |
|||
decision = "Wikipedia:Arbitration/Requests/Case/Climate change", |
|||
restrictions = {['ds'] = true}, |
|||
aliases = {"gw"} |
|||
}, |
|||
["cf"] = { |
|||
topic = "pseudoscience and fringe science", |
|||
scope = "[[pseudoscience]] and [[fringe science]]", |
|||
type = "arbcom", |
|||
wikilink = "WP:CT/CF", |
|||
decision = "Wikipedia:Requests for arbitration/Pseudoscience", |
|||
restrictions = {['ds'] = true}, |
|||
aliases = {"ps"} |
|||
}, |
|||
["cid"] = { |
|||
topic = "discussions about infoboxes and to edits adding, deleting, collapsing, or removing verifiable information from infoboxes", |
|||
scope = "discussions about [[Wikipedia:MoS/Infoboxes|infoboxes]] and to edits adding, deleting, collapsing, or removing verifiable information from infoboxes", |
|||
type = "arbcom", |
|||
wikilink = "WP:CT/CID", |
|||
decision = "Wikipedia:Arbitration/Requests/Case/Civility in infobox discussions", |
|||
restrictions = {['ds'] = true} |
|||
}, |
|||
["covid"] = { |
|||
topic = "Coronavirus disease 2019", |
|||
scope = "[[Coronavirus disease 2019]]", |
|||
type = "arbcom", |
|||
wikilink = "WP:CT/COVID", |
|||
decision = "Wikipedia:Arbitration/Requests/Case/COVID-19", |
|||
restrictions = {['ds'] = true} |
|||
}, |
|||
["e-e"] = { |
|||
topic = "the Balkans or Eastern Europe", |
|||
scope = "the [[Balkans]] or [[Eastern Europe]]", |
|||
type = "arbcom", |
|||
wikilink = "WP:CT/EE", |
|||
decision = "Wikipedia:Requests for arbitration/Eastern Europe", |
|||
restrictions = {['ds'] = true}, |
|||
aliases = {"b", "ee"} |
|||
}, |
|||
["fg"] = { |
|||
topic = "Falun Gong", |
|||
scope = "[[Falun Gong]]", |
|||
type = "arbcom", |
|||
wikilink = "WP:CT/FG", |
|||
decision = "Wikipedia:Requests for arbitration/Falun Gong", |
|||
restrictions = {['ds'] = true} |
|||
}, |
|||
["gc"] = { |
|||
topic = "governmental regulation of firearm ownership; the social, historical and political context of such regulation; and the people and organizations associated with these issues", |
|||
scope = "governmental regulation of firearm ownership; the social, historical and political context of such regulation; and the people and organizations associated with these issues", |
|||
type = "arbcom", |
|||
wikilink = "WP:CT/GC", |
|||
decision = "Wikipedia:Arbitration/Requests/Case/Gun control", |
|||
restrictions = {['ds'] = true} |
|||
}, |
|||
["gg"] = { |
|||
topic = "gender-related disputes or controversies or people associated with them", |
|||
scope = "gender-related disputes or controversies or people associated with them", |
|||
type = "arbcom", |
|||
wikilink = "WP:CT/GG", |
|||
decision = "Wikipedia:Arbitration/Requests/Case/Gender and sexuality", |
|||
restrictions = {['ds'] = true}, |
|||
aliases = {"ggtf", "gap", "gas", "pa"} |
|||
}, |
|||
["gmo"] = { |
|||
topic = "genetically modified organisms, commercially produced agricultural chemicals and the companies that produce them, broadly construed", |
|||
scope = "genetically modified organisms, commercially produced agricultural chemicals and the companies that produce them, broadly construed", |
|||
type = "arbcom", |
|||
wikilink = "WP:CT/GMO", |
|||
decision = "Wikipedia:Arbitration/Requests/Case/Genetically modified organisms", |
|||
restrictions = {['ds'] = true, ["1rr"] = true} |
|||
}, |
|||
["horn"] = { |
|||
topic = "the Horn of Africa (defined as including Ethiopia, Somalia, Eritrea, Djibouti, and adjoining areas if involved in related disputes)", |
|||
scope = "the [[Horn of Africa]] (defined as including Ethiopia, Somalia, Eritrea, Djibouti, and adjoining areas if involved in related disputes)", |
|||
type = "arbcom", |
|||
wikilink = "WP:CT/HORN", |
|||
decision = "Wikipedia:Arbitration/Requests/Case/Horn of Africa", |
|||
restrictions = {['ds'] = true} |
|||
}, |
|||
["ipa"] = { |
|||
topic = "India, Pakistan, and Afghanistan", |
|||
scope = "[[India]], [[Pakistan]], and [[Afghanistan]]", |
|||
type = "arbcom", |
|||
wikilink = "WP:CT/IPA", |
|||
decision = "Wikipedia:Requests for arbitration/India-Pakistan", |
|||
restrictions = {['ds'] = true} |
|||
}, |
|||
["irp"] = { |
|||
topic = "post-1978 Iranian politics", |
|||
scope = "post-1978 Iranian politics", |
|||
type = "arbcom", |
|||
wikilink = "WP:CT/IRP", |
|||
decision = "Wikipedia:Arbitration/Requests/Case/Iranian politics", |
|||
restrictions = {['ds'] = true}, |
|||
aliases = {"iranpol"} |
|||
}, |
|||
["kurd"] = { |
|||
topic = "the topics of Kurds and Kurdistan, broadly construed", |
|||
scope = "the topics of Kurds and [[Kurdistan]], broadly construed", |
|||
type = "both", |
|||
wikilink = "WP:CT/KURD", |
|||
decision = "Wikipedia:Arbitration/Requests/Case/Kurds and Kurdistan", |
|||
restrictions = {['ds'] = true, ["protection"] = "ecp"} |
|||
}, |
|||
["mos"] = { |
|||
topic = "the English Wikipedia Manual of Style and article titles policy", |
|||
scope = "the English Wikipedia [[WP:MOS|Manual of Style]] and [[WP:AT|article titles policy]]", |
|||
type = "arbcom", |
|||
wikilink = "WP:CT/MOS", |
|||
decision = "Wikipedia:Arbitration/Requests/Case/Article titles and capitalisation", |
|||
restrictions = {['ds'] = true}, |
|||
aliases = {"mos"} |
|||
}, |
|||
["pr"] = { |
|||
topic = "Prem Rawat", |
|||
scope = "[[Prem Rawat]]", |
|||
type = "arbcom", |
|||
wikilink = "WP:CT/PR", |
|||
decision = "Wikipedia:Requests for arbitration/Prem Rawat", |
|||
restrictions = {['ds'] = true} |
|||
}, |
|||
["r-i"] = { |
|||
topic = "the intersection of race/ethnicity and human abilities and behaviour", |
|||
scope = "the intersection of race/ethnicity and human abilities and behaviour", |
|||
type = "arbcom", |
|||
wikilink = "WP:CT/R-I", |
|||
decision = "Wikipedia:Arbitration/Requests/Case/Race and intelligence", |
|||
restrictions = {['ds'] = true} |
|||
}, |
|||
["rne"] = { |
|||
topic = "the results of any national or sub-national election", |
|||
scope = "the results of any national or sub-national election", |
|||
type = "arbcom", |
|||
wikilink = "WP:CT/RNE", |
|||
decision = "Wikipedia:Arbitration/Requests/Case/Historical elections", |
|||
restrictions = {['ds'] = true} |
|||
}, |
|||
["sl"] = { |
|||
topic = "Sri Lanka", |
|||
scope = "[[Sri Lanka]]", |
|||
type = "arbcom", |
|||
wikilink = "WP:CT/SL", |
|||
decision = "Special:PermaLink/1219893542#Sri_Lanka_motion", |
|||
restrictions = {['ds'] = true} |
|||
}, |
|||
["tt"] = { |
|||
topic = "the Troubles", |
|||
scope = "[[the Troubles]]", |
|||
type = "arbcom", |
|||
wikilink = "WP:CT/TT", |
|||
decision = "Wikipedia:Requests for arbitration/The Troubles", |
|||
restrictions = {['ds'] = true, ["1rr"] = true} |
|||
} |
|||
} |
} |
||
local |
local communitySanctions = {} |
||
['cry'] = 'crypto', |
|||
for k,v in pairs(sanctions) do |
|||
['bc'] = 'crypto', |
|||
if (sanctions.type == "comm" or sanctions.type == "both") then |
|||
['irp'] = 'iranpol', |
|||
communitySanctions[k] = v |
|||
['syr'] = 'scwisil', |
|||
end |
|||
['syria'] = 'scwisil', |
|||
end |
|||
['scw'] = 'scwisil', |
|||
['isil'] = 'scwisil', |
|||
local arbitrationSanctions = {} |
|||
['isis'] = 'scwisil', |
|||
['uku'] = 'ukunits' |
|||
for k,v in pairs(sanctions) do |
|||
} |
|||
if (sanctions.type == "arbcom" or sanctions.type == "both") then |
|||
arbitrationSanctions[k] = v |
|||
end |
|||
end |
|||
-- alias handling |
|||
for k,v in pairs(sanctions) do |
|||
for l,w in pairs(v.aliases or {}) do |
|||
sanctions[w] = sanctions[w] == nil and sanctions[k] or sanctions[w] |
|||
end |
|||
end |
|||
-- export |
-- export |
||
return {sanctions = sanctions, |
return {sanctions = sanctions, arbcom = arbitrationSanctions, comm = communitySanctions} |