Module:ArbCaseAlias/data

local config = { }

config.arbCaseAliasInfo = {
    caseInfoFor = {
    	['2023'] = {
    		['Armenia-Azerbaijan 3'] = {
    			byYear = '2023-1',
    			byColour = '2022-red',
    			dateOpened = '2023 January 27',
    			dateClosed = '2023 March 18,'
    		},
    		['World War II and the history of Jews in Poland'] = {
    			byYear = '2023-2',
    			byColour = '2023-orange',
    			dateOpened = '2023 March 13',
    			dateClosed = '2023 May 20',
    		},
    		['Scottywong'] = {
    		    byYear = '2023-3',
    		    byColour = '2023-yellow',
    		    dateOpened = '2023 June 7',
    		    dateClosed = '2023 July 10',
    		},
    	    ['AlisonW'] = {
    		    byYear = '2023-4',
    		    byColour = '2023-green',
    		    dateOpened = '2023 June 22',
    		    dateClosed = '2023 July 16',
    		},
    	    ['SmallCat dispute'] = {
    	        byYear = '2023-5',
    	        byColour = '2023-blue',
    	        dateOpened = '2023 July 21',
    	        dateClosed = '2023 August 26',
    	    },
    	    ['Industrial agriculture'] = {
    	        byYear = '2023-6',
    	        byColour = '2023-indigo',
    	        dateOpened = '2023 October 25',
    	    },
    	},
    	['2022'] = {
    		['Skepticism and coordinated editing'] = {
    			byYear = '2022-1',
    			byColour = '2022-red',
    			dateOpened = '2022 January 17',
    			dateClosed = '2022 March 3',
    		},
    		['Jonathunder'] = {
    			byYear = '2022-2',
    			byColour = '2022-orange',
    			dateOpened = '2022 February 26',
    		},
    		['Geschichte'] = {
    			byYear = '2022-3',
    			byColour = '2022-yellow',
    			dateOpened = '2022 March 17',
    			dateClosed = '2022 July 31',
    		},
	    	['WikiProject Tropical Cyclones'] = {
    			byYear = '2022-4',
    			byColour = '2022-green',
    			dateOpened = '2022 March 30',
    			dateClosed = '2022 May 27',
    		},
    		['Conduct in deletion-related editing'] = {
    			byYear = '2022-5',
    			byColour = '2022-blue',
    			dateOpened = '2022 June 18',
    			dateClosed = '2022 August 2',
    		},
    		["Reversal and reinstatement of Athaenara's block"] = {
    			byYear = '2022-6',
    			byColour = '2022-indigo',
    			dateOpened = '2022 October 16',
    			dateClosed = '2022 November 2',
    		},
    		['Stephen'] = {
    			byYear = '2022-7',
    			byColour = '2022-violet',
    			dateOpened = '2022 November 17',
    			dateClosed = '2022 December 7',
    		},
    	},  -- 2022
    	['2021'] = {
    	  ['Kurds and Kurdistan'] = {
    	  	byYear = '2021-1',
    	  	byColour = '2021-red',
    	  	dateOpened = '2021 January 22',
    	  	dateClosed = '2021 February 23',
    	  },
    	  ['Gender and sexuality'] = {
    	    byYear = '2021-2',
    	    byColour = '2021-orange',
    	    dateOpened = '2021 February 22',
    	    dateClosed = '2021 February 22',
    	  },
    	  ['RexxS'] = {
    	    byYear = '2021-3',
    	    byColour = '2021-yellow',
    	    dateOpened = '2021 February 27',
    	    dateClosed = '2021 March 26',
    	  },
    	  ['Carlossuarez46'] = {
    	  	byYear = '2021-4',
    	  	byColour = '2021-green',
    	  	dateOpened = '2021 April 8',
    	  	dateClosed = '2021 July 9',
    	  },
    	  ['COVID-19'] = {
    	    byYear = '2021-5',
    	    byColour = '2021-blue',
    	    dateOpened = '2021 June 16',
    	    dateClosed = '2021 June 16',
    	  },
    	  ['Iranian politics'] = {
    	  	byYear = '2021-6',
    	  	byColour = '2021-indigo',
    	  	dateOpened = '2021 July 23',
    	  	dateClosed= '2021 September 20',
    	  },
    	},  -- 2021
    	['2020'] = {
    		['Kudpung'] = {
    			byYear = '2020-1',
    			byColour = '2020-red',
    			dateOpened = '2020 January 14',
    			dateClosed = '2020 February 29',
    		},
    		['Motorsports'] = {
    			byYear = '2020-2',
    			byColour = '2020-orange',
    			dateOpened = '2020 February 28',
    			dateClosed = '2020 March 30',
    		},
    		['Jytdog'] = {
    			byYear = '2020-3',
    			byColour = '2020-yellow',
    			dateOpened = '2020 March 9',
    			dateClosed = '2020 April 13',
    		},
    	    ['Medicine'] = {
    	        byYear = '2020-4',
    	        byColour = '2020-green',
    	        dateOpened = '2020 April 7',
    	        dateClosed = '2020 June 3',
    	    },
    	    ['Horn of Africa'] = {
    	    	byYear = '2020-5',
    	    	byColour = '2020-blue',
    	    	dateOpened = '2020 December 9',
    	    	dateClosed = '2020 December 9',
    	    },
    	    ['Flyer22 and WanderingWanda'] = {
    	    	byYear = '2020-6',
    	    	byColour = '2020-indigo',
    	    	dateOpened = '2020 December 16',
    	    	dateClosed = '2021 January 21',
    	    },
    	},  -- 2020
        ['2019'] = {
            ['Alex Shih'] = {
                byYear = '2019-1',
                byColour = '2019-red',
                dateOpened = '2019 February 19',
                dateClosed = '2020 February 13',
            },
            ['Enigmaman'] = {
                byYear = '2019-2',
                byColour = '2019-orange',
                dateOpened = '2019 April 13',
                dateClosed = '2019 May 6',
            },
            ['Rama'] = {
                byYear = '2019-3',
                byColour = '2019-yellow',
                dateOpened = '2019 May 2',
                dateClosed = '2019 June 6',
            },
            ['Canadian politics'] = {
                byYear = '2019-4',
                byColour = '2019-green',
                dateOpened = '2019 May 24',
                dateClosed = '2019 July 6',
            },
            ['Antisemitism in Poland'] = {
                byYear = '2019-5',
                byColour = '2019-blue',
                dateOpened = '2019 June 9',
                dateClosed = '2019 September 22',
            },
            ['Reversion of office actions'] = {
                byYear = '2019-6',
                byColour = '2019-indigo',
                dateOpened = '2019 July 5',
                dateClosed = '2019 July 5',
            },
            ['Fram'] = {
                byYear = '2019-7',
                byColour = '2019-violet',
                dateOpened = '2019 July 24',
                dateClosed = '2019 September 21',
            },
            ['Palestine-Israel articles 4'] = {
                byYear = '2019-8',
                byColour = '2019-pink',
                dateOpened = '2019 August 16',
            },
            ['Portals'] = {
                byYear = '2019-9',
                byColour = '2019-brown',
                dateOpened = '2019 November 26',
                dateClosed = '2020 January 29',
            },
            ['RHaworth'] = {
                byYear = '2019-10',
                byColour = '2019-sepia',
                dateOpened = '2019 December 30',
                dateClosed = '2020 February 1',
            },
        },  -- 2019
        ['2018'] = {
            ['Joefromrandb and others'] = {
                byYear = '2018-1',
                byColour = '2018-red',
            },
            ['Civility in infobox discussions'] = {
                byYear = '2018-2',
                byColour = '2018-orange',
            },
            ['German war effort'] = {
                byYear = '2018-3',
                byColour = '2018-yellow',
            },
            ['BLP issues on British politics articles'] = {
                byYear = '2018-4',
                byColour = '2018-green',
            },
            ['Andrevan'] = {
                byYear = '2018-5',
                byColour = '2018-blue',
            },
            ['Fred Bauder'] = {
                byYear = '2018-6',
                byColour = '2018-indigo',
            },
            ['GiantSnowman'] = {
                byYear = '2018-7',
                byColour = '2018-violet',
                dateOpened = '2018 December 17',
            },
        }, -- 2018
        ['2017'] = {
            ['War of the Pacific'] = {
                byYear = '2017-1',
                byColour = '2017-red',
            },
            ['Magioladitis'] = {
                byYear = '2017-2',
                byColour = '2017-orange',
            },
            ['Magioladitis 2'] = {
                byYear = '2017-3',
                byColour = '2017-yellow',
            },
            ['Arthur Rubin'] = {
                byYear = '2017-4',
                byColour = '2017-green',
            },
            ['Conduct of Mister Wiki editors'] = {
                byYear = '2017-5',
                byColour = '2017-blue',
            },
        },  -- 2017
        ['2016'] = {
            ['Wikicology'] = {
                byYear = '2016-1',
                byColour = '2016-red',
                dateOpened = '2016 April 8',
                dateClosed = '2016 May 13',
            },
            ['Gamaliel and others'] = {
                byYear = '2016-2',
                byColour = '2016-orange',
                dateOpened = '2016 April 18',
                dateClosed = '2016 June 4',
            },
            ['Michael Hardy'] = {
                byYear = '2016-3',
                byColour = '2016-yellow',
                dateOpened = '2016 August 11',
                dateClosed = '2016 October 1',
            },
            ['The Rambling Man'] = {
                byYear = '2016-4',
                byColour = '2016-green',
                dateOpened = '2016 September 3',
                dateClosed = '2016 October 13',
            },
        },  -- 2016
        ['2015'] = {
            ['Wifione'] = {
                byYear = '2015-1',
                byColour = '2015-red',
                dateOpened = '2015 January 2',
                dateClosed = '2015 February 13',
            },
            ['Christianity and Sexuality'] = {
                byYear = '2015-2',
                byColour = '2015-orange',
                dateOpened = '2015 January 19',
                dateClosed = '2015 March 7',
            },
            ['Infoboxes'] = {
                byYear = '2015-3',
                byColour = '2015-yellow',
                dateOpened = '2015 January 27',
                dateClosed = '2015 March 4',
            },
            ['Collect and others'] = {
                byYear = '2015-4',
                byColour = '2015-green',
                dateOpened = '2015 March 23',
                dateClosed = '2015 May 10',
            },
            ['American politics 2'] = {
                byYear = '2015-5',
                byColour = '2015-blue',
                dateOpened = '2015 March 24',
                dateClosed = '2015 June 19',
            },
            ['Sockpuppet investigation block'] = {
                byYear = '2015-6',
                byColour = '2015-indigo',
                dateOpened = '2015 April 23',
                dateClosed = '2015 June 9',
            },
            ['OccultZone and others'] = {
                byYear = '2015-7',
                byColour = '2015-violet',
                dateOpened = '2015 April 30',
                dateClosed = '2015 June 3',
            },
            ['Lightbreather'] = {
                byYear = '2015-8',
                byColour = '2015-pink',
                dateOpened = '2015 May 3',
                dateClosed = '2015 July 17',
            },
            ['Technical 13'] = {
                byYear = '2015-9',
                byColour = '2015-brown',
                dateOpened = '2015 June 16',
                dateClosed = '2015 June 26',
            },
            ['Arbitration enforcement'] = {
                byYear = '2015-10',
                byColour = '2015-sepia',
                dateOpened = '2015 June 29',
                dateClosed = '2015 August 24',
            },
            ['Kww and The Rambling Man'] = {
                byYear = '2015-11',
                byColour = '2015-emerald',
                dateOpened = '2015 June 29',
                dateClosed = '2015 August 3',
            },
            ['Editor conduct in e-cigs articles'] = {
                byYear = '2015-12',
                byColour = '2015-teal',
                dateOpened = '2015 August 4',
                dateClosed = '2015 November 17',
            },
            ['Palestine-Israel articles 3'] = {
                byYear = '2015-13',
                byColour = '2015-lilac',
                dateOpened = '2015 August 25',
                dateClosed = '2015 November 22',
            },
            ['Genetically modified organisms'] = {
                byYear = '2015-14',
                byColour = '2015-sapphire',
                dateOpened = '2015 September 28',
                dateClosed = '2015 December 12',
            },
            ['Arbitration enforcement 2'] = {
                byYear = '2015-15',
                byColour = '2015-ruby',
                dateOpened = '2015 October 29',
                dateClosed = '2015 December 25',
            },
            ['Catflap08 and Hijiri88'] = {
                byYear = '2015-16',
                byColour = '2015-mauve',
                dateOpened = '2015 October 21',
                dateClosed = '2015 December 29',
            },
            ['Neelix'] = {
                byYear = '2015-17',
                byColour = '2015-tan',
                dateOpened = '2015 November 10',
                dateClosed = '2015 November 13',
            },
            ['Kevin Gorman'] = {
                byYear = '2015-18',
                byColour = '2015-aquamarine',
                dateOpened = '2015 December 11',
                dateClosed = '2016 January 18',
            },
        }, -- 2015
        ['1000'] = {
            ['War of the Pacific'] = {
                byYear = '1000-10',
                byColour = '1000-mauve',
            },
            ['Conduct of Mister Wiki editors'] = {
                byYear = '1000-5030',
                byColour = '1000-petunia',
            },
        }, -- 1000: test data for unit test cases
    }, -- caseInfoFor

    extractPrimaryKey = function(alias)
        local idPattern = '^(%d%d%d%d)'
        local year = mw.ustring.match(alias, idPattern)
        return year
    end,

    normalizeAlias = {
        byYear = function(aliasArg)
            local idPattern = '^(%d%d%d%d)-?0*([1-9]%d*)$'
            local year
            local sequenceNumber
            year, sequenceNumber = mw.ustring.match(aliasArg, idPattern)
            if (year == nil) then
                return nil
            end
            return year .. '-' .. sequenceNumber
        end,
        byColour = function(aliasArg)
            return mw.ustring.lower(aliasArg)
        end,
    },  -- normalizeAlias
}  -- config.arbCaseAliasInfo

return config

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.