U bood nuxurka

Module:Protection banner/config

Si joogto ah loo ilaaliyay module
Laga soo xigtay Wikipedia, Insaykalobeedhiya xorta ah

-- Kani waa module bixinaya xogta dejinta ee [[Module:Protection banner]].

return {

--------------------------------------------------------------------------------
--
--                                BANNER DATA
--
--------------------------------------------------------------------------------

--[[
-- Xogta banner-ka waxay ka kooban tahay lix meelood (fields):
-- * text - qoraalka ugu weyn ee ilaalinta ee ka muuqda xagga sare ee
--   banner-rada ilaalinta.
-- * explanation - qoraalka ka muuqda hoosta qoraalka ilaalinta ee ugu weyn,
--   oo loo isticmaalo in lagu sharaxo tafaasiisha ilaalinta.
-- * tooltip - qoraalka tilmaanta ee aad aragto marka aad jiirka dul saarto
--   calaamadda qufulka yar.
-- * link - bogga ay ku xiran tahay calaamadda qufulka yar.
-- * alt - qoraalka beddelka ah (alt) ee calaamadda qufulka yar. Tan sidoo kale
--   waxaa loo isticmaalaa qoraal tilmaameed ahaan banner-rada ilaalinta waaweyn.
-- * image - sawirka qufulka ee lagu isticmaalo labada banner ee ilaalinta iyo
--   calaamadaha qufulka yar labadaba.
--
-- Module-ku wuxuu ka hubiyaa saddex miis (tables) oo kala duwan si uu u helo
-- qiimaha goob kasta. Marka hore wuxuu hubiyaa miiska banners, debeddana
-- wuxuu hubiyaa miiska defaultBanners, ugu dambayntana wuxuu hubiyaa miiska
-- masterBanner, kaasoo haya xogta template-yada ilaalinta ee la isticmaalo
-- haddii aan xog laga helin labadii miis ee hore.
--
-- Qiimayaasha ku jira xogta banner-ka waxay qaadan karaan xajmiyaal (parameters).
-- Kuwaas waxaa lagu cayimaaa iyadoo la isticmaalayo ${TEXTLIKETHIS} (calaamadda
-- doolarka oo ka horreysa magaca parameter-ka oo ku dhex jira qowsaska lulban).
--
--                          Parameters-ka la heli karo:
--
-- ${CURRENTVERSION} - xiriir toos ah oo ku aaddan taariikhda bogga ama diiwaanka
-- guuritaanka, oo wata fariinta bandhigga "current-version-edit-display" ama
-- "current-version-move-display".
--
-- ${EDITREQUEST} - xiriir lagu abuurayo codsi wax ka beddel ah oo loogu talagalay bogga hadda.
--
-- ${EXPLANATIONBLURB} - sharaxaad guud, tusaale ahaan "Fadlan kala hadal wixii isbeddel ah
-- bogga wadahadalka; waxaad gudbin kartaa codsi aad kaga codsanaysato maamule inuu sameeyo
-- wax ka beddel haddii uu yahay mid yar ama ay taageerto is-afgarad."
--
-- ${IMAGELINK} - xiriir lagu dejiyo sawirka, iyadoo ku xiran ficilka ilaalinta
-- iyo heerka ilaalinta.
--
-- ${INTROBLURB} - parameter-ka PROTECTIONBLURB, oo lagu daray waqtiga dhicitaanka
-- haddii la cayimay. Tusaale ahaan "Wax ka beddelka boggan ee isticmaaleyaasha cusub
-- ama aan diiwaan gashanayn waa la joojiyay ilaa dd Month YYYY."
--
-- ${INTROFRAGMENT} - la mid ah ${INTROBLURB}, laakiin iyadoo aan lahayn
-- joojinta ugu dambeysa si loogu isticmaali karo weedho socda.
--
-- ${PAGETYPE} - nooca bogga, tusaale ahaan "maqaal" ama "template".
-- Lagu qeexay miiska cfg.pagetypes.
--
-- ${PROTECTIONBLURB} - sharaxaad ku saabsan heerka ilaalinta bogga, tusaale ahaan
-- "Wax ka beddelka boggan ee isticmaaleyaasha cusub ama aan diiwaan gashanayn waa la joojiyay"
--
-- ${PROTECTIONDATE} - taariikhda ilaalinta, haddii loo dhiibay template-ka.
--
-- ${PROTECTIONLEVEL} - heerka ilaalinta, tusaale ahaan "si buuxda loo ilaaliyay" ama
-- "ilaalin-nus ah".
--
-- ${PROTECTIONLOG} - xiriir ku aaddan diiwaanka ilaalinta ama diiwaanka isbeddellada
-- sugaya, iyadoo ku xiran ficilka ilaalinta.
--
-- ${TALKPAGE} - xiriir ku aaddan bogga wadahadalka. Haddii qayb la cayimiyo,
-- waxay si toos ah ugu xiraysaa qaybtaas bogga wadahadalka.
--
-- ${TOOLTIPBLURB} - waxay isticmaashaa parameters-ka PAGETYPE, PROTECTIONTYPE iyo
-- EXPIRY si ay u abuurto sharaxaad sida "Template-kan waa mid la ilaaliyay nus-ahaan",
-- ama "Qoraalkan waa mid laga ilaaliyay in la guuro ilaa DD Month YYYY".
--
-- ${VANDAL} - xiriirro loogu talagalay magaca isticmaalaha ee la cayimay (ama magaca
-- bogga xididka) iyadoo la isticmaalayo Module:Vandal-m.
--
--                                 Shaqooyinka (Functions)
--
-- Isticmaaleyaasha horumarsan, waxaa suurtagal ah in la isticmaalo shaqooyinka Lua
-- halkii laga isticmaali lahaa xargaha (strings) ee miisaska dejinta banner-ka.
-- Isticmaalka shaqooyinka wuxuu bixiyaa dabacsanaan aan suurtagal ahayn oo keliya
-- la isticmaalo parameters-ka. Shaqooyinku waxay qaataan laba doodood (arguments),
-- shayga ilaalinta iyo doodaha template-ka, waana inay soo saaraan xargo (string).
--
-- Tusaale ahaan:
--
-- text = function (protectionObj, args)
--     if protectionObj.level == 'autoconfirmed' then
--         return 'foo'
--     else
--         return 'bar'
--     end
-- end
--
-- Qaybo ka mid ah sifooyinka iyo hababka shayga ilaalinta ee waxtarka yeelan kara:
-- protectionObj.action - ficilka ilaalinta
-- protectionObj.level - heerka ilaalinta
-- protectionObj.reason - sababta ilaalinta
-- protectionObj.expiry - waqtiga dhicitaanka. Madhan (Nil) haddii aan la dejin,
--     xargaha "indef" haddii loo dejiyo mid aan xad lahayn, iyo wakhtiga ilaalinta
--     ee waqtiga unix haddii yahay mid ku-meel-gaar ah.
-- protectionObj.protectionDate - taariikhda ilaalinta ee waqtiga unix, ama madhan haddii aan la cayimin.
-- protectionObj.bannerConfig - dejinta banner-ka ee uu helay module-ka. Ka digtoonow
--     in aad wax ka beddesho goobta dejinta ee ay isticmaasho shaqadu, maadaama
--     ay abuuri karto wareeg aan dhammaad lahayn.
-- protectionObj:isProtected - waxay soo celisaa run ama beenta (boolean) muujineysa in boggu ilaalsanyahay.
-- protectionObj:isTemporary - waxay soo celisaa run ama beenta in wakhtiga dhicitaanku yahay mid ku-meel-gaar ah.
-- protectionObj:isIncorrect - waxay soo celisaa run ama beenta in template-ka ilaalintu khaldanyahay.
--]]

-- Xogta banner-ka weyn, waxaa la isticmaalaa haddii aan wax qiimo ah laga helin banners ama defaultBanners.
masterBanner = {
	text = '${INTROBLURB}',
	explanation = '${EXPLANATIONBLURB}',
	tooltip = '${TOOLTIPBLURB}',
	link = '${IMAGELINK}',
	alt = 'Bogga ${PROTECTIONLEVEL}'
},

-- Xogta banner-ka caadiga ah. Tani waxay haysaa xogta banner-ka ee heerarka
-- ilaalinta ee kala duwan.
-- *required* - miiskani wuxuu u baahan yahay qaybo-hoosaadyada edit, move, autoreview iyo upload.
defaultBanners = {
	edit = {},
	move = {},
	autoreview = {
		default = {
			alt = 'Bogga waxaa lagu ilaaliyay isbeddellada sugaya',
			tooltip = 'Dhammaan isbeddellada ay sameeyaan isticmaaleyaasha aan diiwaan gashanayn iyo kuwa cusub waxay ku xiran yihiin dib-u-eegis intaan la arag',
			image = 'Pending-protection-shackle.svg'
		}
	},
	upload = {}
},

-- Xogta banner-ka. Tani waxay haysaa xogta banner-ka ee sababaha ilaalinta ee kala duwan.
-- Xaqiiqdii, sababaha lagu cayimay miisaskan waxay xakameynayaan sababaha saxda ah
-- ee loo gudbiyo parameter-ka booska koowaad.
--
-- Waxaa sidoo kale jira goob "description" oo aan caadi ahayn taasoo loo isticmaali karo
-- walxaha ku jira miiskan. Tani waa sharaxaad ku saabsan sababta ilaalinta ee loogu
-- talagalay in lagu isticmaalo dukumentiyada module-ka.
--
-- *required* - miiskani wuxuu u baahan yahay qaybo-hoosaadyada edit, move, autoreview iyo upload.
banners = {
	edit = {
		blp = {
			description = 'Bogagga la ilaaliyay si loo dhiirrigeliyo u hoggaansanaanta'
				.. ' [[Wikipedia:Taariikh-nololeedka dadka nool'
				.. '|taariikh-nololeedka dadka nool]] xeerka',
			text = '${INTROFRAGMENT} si loo dhiirrigeliyo u hoggaansanaanta'
				.. ' [[Wikipedia:Taariikh-nololeedka dadka nool'
				.. "|Xeerka Wikipedia ee ku saabsan taariikh-nololeedka"
				.. ' dadka nool]].',
			tooltip = '${TOOLTIPFRAGMENT} si loo dhiirrigeliyo u hoggaansanaanta xeerka taariikh-nololeedka dadka nool',
		},
		deceased = {
			description = 'Bogagga isticmaalaha ee isticmaaleyaasha Wikipedia ee geeriyooday',
			text = '${INTROFRAGMENT} si looga hortago kharibaadda bogga isticmaale'
				.. ' ee Wikipedian geeriyooday.'
				.. ' Xubin qoyska ka tirsan oo rabta in ay wax ka beddesho boggan isticmaalaha waxay isticmaali kartaa'
				.. ' isticmaalahan ${TALKPAGE} ama waxay u gudbin kartaa codsi [[Wikipedia:VRT|Kooxda Jawaabta Tabarruca ah]].',
			tooltip = '${TOOLTIPFRAGMENT} sababtoo ah Wikipedian-kani waa geeriyooday'
		},
		dmca = {
			description = 'Bogagga ay ilaalisay Muasasada Wikimedia'
				.. ' sababo la xiriira codsiyada ka-saarista [[Digital Millennium Copyright Act]]',
			explanation = function (protectionObj, args)
				local ret = 'Iyadoo la raacayo ogeysiiska mulkiilaha xuquuqda ee hoos timaada Digital'
					.. ' Millennium Copyright Act (DMCA) ee ku saabsan qaar ka mid ah waxyaabaha ku jira'
					.. ' maqaalkan, Muasasada Wikimedia waxay uga hawlgashay hoos timaada'
					.. ' sharciga khuseeya waxayna ka saartay isla markaana xaddidday waxyaabaha'
					.. ' laga hadlayo.'
				if args.notice then
					ret = ret .. ' Nuqul ka mid ah ogeysiiska la helay waxaa laga heli karaa halkan: '
						.. args.notice .. '.'
				end
				ret = ret .. ' Wixii macluumaad dheeraad ah, oo ay ku jiraan shabakadaha ka doodaya'
					.. ' sida loo gudbiyo ogeysiis-celin, fadlan eeg'
					.. " [[Wikipedia:Ficillada xafiiska]] iyo maqaalka ${TALKPAGE}."
					.. "'''Ha ka saarin template-kan maqaalka ilaa iyo inta"
					.. " xadidaadaha laga laabanyo'''."
				return ret
			end,
			image = 'Office-protection-shackle.svg',
			link = 'Wikipedia:Xeerka ilaalinta#office',
		},
		dispute = {
			description = 'Bogagga la ilaaliyay sababo la xiriira murannada wax ka beddelka',
			text = function (protectionObj, args)
				-- Hel qiimaha "murannada".
				local display = 'murannada'
				local disputes
				if args.section then
					disputes = string.format(
						'[[%s:%s#%s|%s]]',
						mw.site.namespaces[protectionObj.title.namespace].talk.name,
						protectionObj.title.text,
						args.section,
						display
					)
				else
					disputes = display
				end

				-- Samee sharaxaada, iyadoo ku xiran waqtiga dhicitaanka.
				local msg
				if type(protectionObj.expiry) == 'number' then
					msg = '${INTROFRAGMENT} ama ilaa inta wax ka beddelka %s la xallinayo.'
				else
					msg = '${INTROFRAGMENT} ilaa inta wax ka beddelka %s la xallinayo.'
				end
				return string.format(msg, disputes)
			end,
			explanation = "Ilaalintani '''ma ahan''' mid taageeraya"
				.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
			tooltip = '${TOOLTIPFRAGMENT} sababo la xiriira murannada wax ka beddelka',
		},
		ecp = {
			description = 'Maqaallada ku jira meelaha mowduucyada ee ay oggolaatay'
				.. ' [[Wikipedia:Guddiga Garsoorka|ArbCom]] ama'
				.. ' buuxiya shuruudaha isticmaalka bulshada',
			alt = 'Ilaalinta la kordhiyay ${PAGETYPE}',
		},
		mainpage = {
			description = 'Bogagga la ilaaliyay sababtoo ah waxaa lagu soo bandhigay [[Bogga Hore]]',
			text = 'Faylkan hadda waa mid'
				.. ' [[Wikipedia:Boggan waa la ilaaliyay|la ilaaliyay]] in wax ka beddel'
				.. ' lagu sameeyo sababtoo ah hadda ama dhowaan waxaa lagu soo bandhigi doonaa'
				.. ' [[Bogga Hore]].',
			explanation = 'Sawirrada ku jira Bogga Hore waa kuwo la ilaaliyay sababo la xiriira muuqashadooda'
				.. ' sare. Fadlan kala hadal wixii isbeddel ah ee lagama maarmaan ah ${TALKPAGE}.'
				.. '<br /><span style="font-size:90%;">'
				.. "'''Maamulayaasha:''' Marka sawirkani si dhab ah uga baxo Bogga Hore,"
				.. ' fadlan ka qaad ilaalinta faylkan, ama u dhexee ilaalin-nus,'
				.. ' sida ku habboon.</span>',
		},
		office = {
			description = 'Bogagga ay ilaalisay Muasasada Wikimedia',
			text = function (protectionObj, args)
				local ret = '${PAGETYPE}-kan hadda wuxuu ku jiraa'
					.. ' kormeerka'
					.. ' [[Wikipedia:Ficillada xafiiska|Xafiiska Muasasada Wikimedia]]'
					.. ' waana mid la ilaaliyay.'
				if protectionObj.protectionDate then
					ret = ret .. ' Waxaa la ilaaliyay tan iyo ${PROTECTIONDATE}.'
				end
				return ret
			end,
			explanation = "Haddii aad wax ka beddeli karto boggan, fadlan kala hadal dhammaan isbeddellada iyo"
				.. " ku-dhadhacyada ${TALKPAGE} marka hore. '''Ha ka saarin ilaalinta boggan"
				.. " ilaa laguu oggolaado in aad sidaas samayso"
				.. " adigoo ka helay Muasasada Wikimedia.'''",
			image = 'Office-protection-shackle.svg',
			link = 'Wikipedia:Xeerka ilaalinta#office',
		},
		reset = {
			description = 'Bogagga ay ilaalisay Muasasada Wikimedia oo loo'
				.. ' "dib-u-dejiyay" nuqul aasaasi ah',
 			text = '${PAGETYPE}-kan hadda wuxuu ku jiraa'
					.. ' kormeerka'
					.. ' [[Wikipedia:Ficillada xafiiska|Xafiiska Muasasada Wikimedia]]'
					.. ' waana mid la ilaaliyay.',
			explanation = function (protectionObj, args)
				local ret = ''
				if protectionObj.protectionDate then
					ret = ret .. 'Taariikhdu markay ahayd ${PROTECTIONDATE} ${PAGETYPE}-kan waxaa'
				else
					ret = ret .. '${PAGETYPE}-kan waxaa'
				end
				ret = ret .. ' lagu soo koobay nuqul'
				.. ' fudud, "aasaasi ah" si si buuxda loogu'
				.. ' dib-u-qoro si loo xaqiijiyo in uu buuxiyo xeerarka'
				.. ' [[WP:NPOV|Dhex-dhexaadnimada Ra\'yiga]] iyo [[WP:V|Xaqiiqo-hubinta]].'
				.. ' Xeerarka caadiga ah ee Wikipedia waxay khuseeyaan dib-u-qoriddiisa—kaas oo'
				.. ' ugu dambayntii u furan doona dhammaan tifaftirayaasha—waana la adkayn doonaa'
				.. ' si adag. ${PAGETYPE}-kan wuxuu ahaa mid ${PROTECTIONLEVEL} inta'
				.. ' uu dib-u-dhisku socdo.\n\n'
				.. 'Gelis kasta oo ka mid ah agabka si toos ah uga yimid'
				.. ' nuqulladii ka horreeyay ilaalinta ee ${PAGETYPE}-kan waa la tirtiri doonaa, sida'
				.. ' oo kale wixii agab ah ee lagu daro ${PAGETYPE}-kan ee aan si sax ah'
				.. ' loogu hayn xog-raac. Bogga (bogagga) wadahadalka ee la xiriira sidoo kale waa la tirtiray'
				.. " isla taariikhdaas.\n\n"
				.. "Haddii aad wax ka beddeli karto boggan, fadlan kala hadal dhammaan isbeddellada iyo"
				.. " ku-dhadhacyada ${TALKPAGE} marka hore. '''Ha ka hor-imannin"
				.. " ficilkan, hana ka saarin ilaalinta boggan,"
				.. " ilaa laguu oggolaado in aad sidaas samayso"
				.. " adigoo ka helay Muasasada Wikimedia. Ma jiro tifaftire ka saari kara ogeysiiskan.'''"

				return ret
			end,
			image = 'Office-protection-shackle.svg',
			link = 'Wikipedia:Xeerka ilaalinta#office',
		},
		sock = {
			description = 'Bogagga la ilaaliyay sababo la xiriira'
				.. ' [[Wikipedia:Akoon-gacmeed|akoon-gacmeedyada]]',
			text = '${INTROFRAGMENT} si looga hortago in [[Wikipedia:Akoon-gacmeed|akoon-gacmeedyada]]'
				.. ' isticmaaleyaasha [[Wikipedia:Xanibaad|la xanibay]] ama'
				.. ' [[Wikipedia:Mamnuucid|la mamnuucay]]'
				.. ' ay wax ka beddelaan.',
			tooltip = '${TOOLTIPFRAGMENT} si looga hortago akoon-gacmeedyada isticmaaleyaasha la xanibay ama la mamnuucay in ay wax ka beddelaan',
		},
		template = {
			description = 'Template-yada iyo module-nada Lua ee [[Wikipedia:Template-yada halista sare leh|halista sare leh]]',
			text = 'Kani waa ${PAGETYPE} si joogto ah u [[Wikipedia:Xeerka ilaalinta|ilaalasan]],'
				.. ' maadaama uu yahay mid [[Wikipedia:Template-yada halista sare leh|halis sare leh]].',
			explanation = 'Fadlan kala hadal wixii isbeddel ah ${TALKPAGE}; waxaad'
				.. ' ${EDITREQUEST} kaga codsan kartaa'
				.. ' [[Wikipedia:Maamulayaasha|maamule]] ama'
				.. ' [[Wikipedia:Tifaftiraha template-ka|tifaftiraha template-ka]] inuu sameeyo wax ka beddel haddii'
				.. ' uu yahay mid [[Help:Isbeddel yar#Marka loo meel dhigo isbeddel yar ahaan'
				.. '|aan lagu muransanayn]] ama ay taageerto'
				.. ' [[Wikipedia:Is-afgarad|is-afgarad]]. Sidoo kale waxaad'
				.. ' [[Wikipedia:Codsiyada ilaalinta bogga|codsan kartaa]] in bogga'
				.. ' laga saaro ilaalinta.',
			tooltip = '${PAGETYPE}-kan halista sare leh waa mid si joogto ah u ${PROTECTIONLEVEL}'
				.. ' si looga hortago kharibaadda',
			alt = 'Si joogto ah loo ilaaliyay ${PAGETYPE}',
		},
		usertalk = {
			description = 'Bogagga ka ilaalinta isbeddellada kharibaadda ah ee uu sameeyo'
				.. ' isticmaale gaar ah',
			text = '${INTROFRAGMENT} si looga hortago in ${VANDAL} uu u isticmaalo samaynta isbeddello kharibaad ah,'
				.. ' sida ku xadgudubka'
				.. ' &#123;&#123;[[Template:unblock|unblock]]&#125;&#125; template.',
			explanation = 'Haddii aadan wax ka beddeli karin boggan wadahadalka isticmaalaha oo aad u baahan tahay'
				.. ' inaad samayso isbeddel ama aad ka tagto fariin, waxaad'
				.. ' [[Wikipedia:Codsiyada ilaalinta bogga'
				.. '#Codsiyada hadda ee codsiyada wax ka beddelka ee bogga la ilaaliyay'
				.. '|codsan kartaa wax ka beddel]],'
				.. ' [[Wikipedia:Codsiyada ilaalinta bogga'
				.. '#Codsiyada hadda ee dhimista heerka ilaalinta'
				.. '|codsan kartaa ka-saarista ilaalinta]],'
				.. ' [[Special:Userlogin|soo gasho]],'
				.. ' ama [[Special:UserLogin/signup|samaysato akoon]].',
		},
		vandalism = {
			description = 'Bogagga ka ilaalinta'
				.. ' [[Wikipedia:Kharibaad|kharibaadda]]',
			text = '${INTROFRAGMENT} sababo la xiriira [[Wikipedia:Kharibaad|kharibaadda]].',
			explanation = function (protectionObj, args)
				local ret = ''
				if protectionObj.level == 'sysop' then
					ret = ret .. "Ilaalintani '''ma ahan''' mid taageeraya"
						.. ' ${CURRENTVERSION}. '
				end
				return ret .. '${EXPLANATIONBLURB}'
			end,
			tooltip = '${TOOLTIPFRAGMENT} sababo la xiriira kharibaadda',
		}
	},
	move = {
		dispute = {
			description = 'Bogagga ka ilaalinta guuritaanka bogga sababo la xiriira'
				.. ' murannada ku saabsan cinwaanka bogga',
			explanation = "Ilaalintani '''ma ahan''' mid taageeraya"
				.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
			image = 'Move-protection-shackle.svg'
		},
		vandalism = {
			description = 'Bogagga ka ilaalinta'
				.. ' [[Wikipedia:Kharibaad#Kharibaadda guuritaanka bogga'
				.. ' |kharibaadda guuritaanka bogga]]'
		}
	},
	autoreview = {},
	upload = {}
},

--------------------------------------------------------------------------------
--
--                            GENERAL DATA TABLES
--
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
-- Protection blurbs
--------------------------------------------------------------------------------

-- This table produces the protection blurbs available with the
-- ${PROTECTIONBLURB} parameter. It is sorted by protection action and
-- protection level, and is checked by the module in the following order:
-- 1. page's protection action, page's protection level
-- 2. page's protection action, default protection level
-- 3. "edit" protection action, default protection level
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and upload subtables.
protectionBlurbs = {
	edit = {
		default = '${PAGETYPE}-kan hadda waa mid [[Wikipedia:Xeerka ilaalinta#full|'
			.. 'la ilaaliyay]] laga bilaabo wax ka beddelka',
		templateeditor = '${PAGETYPE}-kan hadda waa mid [[Wikipedia:Xeerka ilaalinta#template'
			.. '|la ilaaliyay]] laga bilaabo wax ka beddelka',
		autoconfirmed = 'Wax ka beddelka ${PAGETYPE}-kan ee isticmaaleyaasha [[Wikipedia:Heerarka helitaanka isticmaalaha'
			.. ' levels#New users|cusub]] ama [[Wikipedia:Heerarka helitaanka isticmaalaha#Unregistered'
			.. ' users|aan diiwaan gashanayn]] ayaa hadda ah mid [[Wikipedia:Xeerka ilaalinta'
			.. ' policy#semi|la joojiyay]]',
		extendedconfirmed = '${PAGETYPE}-kan hadda wuxuu ku jiraa hoosta [[Wikipedia:Xeerka ilaalinta'
			.. ' policy#extended|ilaalinta la xaqiijiyay ee la kordhiyay]]',
	},
	move = {
		default = '${PAGETYPE}-kan hadda waa mid [[Wikipedia:Xeerka ilaalinta#Move'
			.. ' protection|laga ilaaliyay]] [[Help:Guuritaanka bogga|guuritaanka bogga]]'
	},
	autoreview = {
		default = 'Dhammaan wax ka beddellada lagu sameeyo ${PAGETYPE}-kan ee ay sameeyaan'
			.. ' isticmaaleyaasha [[Wikipedia:Heerarka helitaanka isticmaalaha#New users|cusub]] ama'
			.. ' [[Wikipedia:Heerarka helitaanka isticmaalaha#Unregistered users|aan diiwaan gashanayn]]'
			.. ' ayaa hadda ah mid'
			.. ' [[Wikipedia:Isbeddellada sugaya|ku xiran dib-u-eegis]]'
	},
	upload = {
		default = 'Soo-gelinta nuqullo cusub oo ${PAGETYPE}-kan ah ayaa hadda la joojiyay'
	}
},


--------------------------------------------------------------------------------
-- Explanation blurbs
--------------------------------------------------------------------------------

-- This table produces the explanation blurbs available with the
-- ${EXPLANATIONBLURB} parameter. It is sorted by protection action,
-- protection level, and whether the page is a talk page or not. If the page is
-- a talk page it will have a talk key of "talk"; otherwise it will have a talk
-- key of "subject". The table is checked in the following order:
-- 1. page's protection action, page's protection level, page's talk key
-- 2. page's protection action, page's protection level, default talk key
-- 3. page's protection action, default protection level, page's talk key
-- 4. page's protection action, default protection level, default talk key
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and upload subtables.
explanationBlurbs = {
	edit = {
		autoconfirmed = {
			subject = 'Eeg [[Wikipedia:Xeerka ilaalinta|'
				.. 'xeerka ilaalinta]] iyo ${PROTECTIONLOG} si aad u hesho faahfaahin dheeraad ah. Haddii aadan'
				.. ' wax ka beddeli karin ${PAGETYPE}-kan oo aad rabto inaad wax ka beddesho, waxaad'
				.. ' ${EDITREQUEST}, kala hadasho isbeddellada ${TALKPAGE},'
				.. ' [[Wikipedia:Codsiyada ilaalinta bogga'
				.. '#Codsiyada hadda ee dhimista heerka ilaalinta'
				.. '|codsato ka-saarista ilaalinta]], [[Special:Userlogin|soo gasho]], ama'
				.. ' [[Special:UserLogin/signup|samaysato akoon]].',
			default = 'Eeg [[Wikipedia:Xeerka ilaalinta|'
				.. 'xeerka ilaalinta]] iyo ${PROTECTIONLOG} si aad u hesho faahfaahin dheeraad ah. Haddii aadan'
				.. ' wax ka beddeli karin ${PAGETYPE}-kan oo aad rabto inaad wax ka beddesho, waxaad'
				.. ' [[Wikipedia:Codsiyada ilaalinta bogga'
				.. '#Codsiyada hadda ee dhimista heerka ilaalinta'
				.. '|codsato ka-saarista ilaalinta]], [[Special:Userlogin|soo gasho]], ama'
				.. ' [[Special:UserLogin/signup|samaysato akoon]].',
		},
		extendedconfirmed = {
			default = 'Ilaalinta la xaqiijiyay ee la kordhiyay waxay ka hortagtaa isbeddellada dhammaan tifaftirayaasha aan diiwaan gashanayn'
				.. ' iyo isticmaaleyaasha diiwaan gashan ee leh taariikh ka yar 30 maalmood iyo 500 oo wax ka beddel ah.'
				.. ' [[Wikipedia:Xeerka ilaalinta#extended|Xeerka isticmaalka bulshada]]'
				.. ' wuxuu cayimayaa in ilaalinta la xaqiijiyay ee la kordhiyay la adeegsan karo si loola dagaallamo'
				.. ' kharibaadda, haddii ilaalin-nustu ay noqotay mid aan waxtar lahayn.'
				.. ' Ilaalinta la xaqiijiyay ee la kordhiyay waxaa kale oo la codsan karaa si loo dhaqangeliyo'
				.. ' [[Wikipedia:Guddiga Garsoorka|ciqaabaha guddiga garsoorka]].'
				.. ' Fadlan kala hadal wixii isbeddel ah ${TALKPAGE}; waxaad'
				.. ' ${EDITREQUEST} kaga codsan kartaa isbeddello aan lagu muransanayn oo ay taageerto'
				.. ' [[Wikipedia:Is-afgarad|is-afgarad]].'
		},
		default = {
			subject = 'Eeg [[Wikipedia:Xeerka ilaalinta|'
				.. 'xeerka ilaalinta]] iyo ${PROTECTIONLOG} si aad u hesho faahfaahin dheeraad ah.'
				.. ' Fadlan kala hadal wixii isbeddel ah ${TALKPAGE}; waxaad'
				.. ' ${EDITREQUEST} kaga codsan kartaa'
				.. ' [[Wikipedia:Maamulayaasha|maamule]] inuu sameeyo wax ka beddel haddii'
				.. ' uu yahay mid [[Help:Isbeddel yar#Marka loo meel dhigo isbeddel yar ahaan'
				.. '|aan lagu muransanayn]] ama ay taageerto [[Wikipedia:Is-afgarad'
				.. '|is-afgarad]]. Sidoo kale waxaad [[Wikipedia:Codsiyada'
				.. ' ilaalinta bogga#Codsiyada hadda ee dhimista heerka ilaalinta'
				.. '|codsan kartaa]] in boggan laga saaro ilaalinta.',
			default = 'Eeg [[Wikipedia:Xeerka ilaalinta|'
				.. 'xeerka ilaalinta]] iyo ${PROTECTIONLOG} si aad u hesho faahfaahin dheeraad ah.'
				.. ' Waxaad [[Wikipedia:Codsiyada'
				.. ' ilaalinta bogga#Codsiyada hadda ee codsiyada wax ka beddelka ee bogga la ilaaliyay|codsan kartaa wax ka beddel]]'
				.. ' boggan, ama [[Wikipedia:Codsiyada'
				.. ' ilaalinta bogga#Codsiyada hadda ee dhimista heerka ilaalinta'
				.. '|codsan kartaa]] in laga saaro ilaalinta.'
		}
	},
	move = {
		default = {
			subject = 'Eeg [[Wikipedia:Xeerka ilaalinta|'
				.. 'xeerka ilaalinta]] iyo ${PROTECTIONLOG} si aad u hesho faahfaahin dheeraad ah.'
				.. ' Bogga wali waa la beddeli karaa laakiin lama guuriyo'
				.. ' ilaa laga saaro ilaalinta. Fadlan kala hadal wixii guuritaan ah ee la soo jeediyay'
				.. ' ${TALKPAGE} ama [[Wikipedia:Guuritaanka la codsaday]]. Sidoo kale waxaad'
				.. ' [[Wikipedia:Codsiyada ilaalinta bogga|codsan kartaa]] in bogga'
				.. ' laga saaro ilaalinta.',
			default = 'Eeg [[Wikipedia:Xeerka ilaalinta|'
				.. 'xeerka ilaalinta]] iyo ${PROTECTIONLOG} si aad u hesho faahfaahin dheeraad ah.'
				.. ' Bogga wali waa la beddeli karaa laakiin lama guuriyo'
				.. ' ilaa laga saaro ilaalinta. Fadlan kala hadal wixii guuritaan ah ee la soo jeediyay'
				.. ' [[Wikipedia:Guuritaanka la codsaday]]. Sidoo kale waxaad'
				.. ' [[Wikipedia:Codsiyada ilaalinta bogga|codsan kartaa]] in bogga'
				.. ' laga saaro ilaalinta.'
		}
	},
	autoreview = {
		default = {
			default = 'Eeg [[Wikipedia:Xeerka ilaalinta|'
				.. 'xeerka ilaalinta]] iyo ${PROTECTIONLOG} si aad u hesho faahfaahin dheeraad ah.'
				.. ' Isbeddellada lagu sameeyo ${PAGETYPE}-kan ee isticmaaleyaasha cusub iyo kuwa aan diiwaan gashanayn'
				.. ' uma muuqan doonaan akhristayaasha ilaa ay ka oggolaadaan'
				.. ' dib-u-eegayaal. Si looga fogaado baahida ah in isbeddelladaada la eego,'
				.. ' waxaad'
				.. ' [[Wikipedia:Codsiyada ilaalinta bogga'
				.. '#Codsiyada hadda ee dhimista heerka ilaalinta'
				.. '|codsankartaa ka-saarista ilaalinta]], [[Special:Userlogin|soo gasho]], ama'
				.. ' [[Special:UserLogin/signup|samaysato akoon]].'
		},
	},
	upload = {
		default = {
			default = 'Eeg [[Wikipedia:Xeerka ilaalinta|'
				.. 'xeerka ilaalinta]] iyo ${PROTECTIONLOG} si aad u hesho faahfaahin dheeraad ah.'
				.. ' Bogga wali waa la beddeli karaa laakiin nuqullo cusub oo faylka ah'
				.. ' lama soo shubi karo ilaa laga saaro ilaalinta. Waxaad'
				.. ' codsan kartaa in nuqul cusub la soo shubo adigoo isticmaalaya'
				.. ' [[Wikipedia:Codsiyada wax ka beddelka|codsiga wax ka beddelka ee la ilaaliyay]], ama'
				.. ' waxaad [[Wikipedia:Codsiyada ilaalinta bogga|codsan kartaa]]'
				.. ' in faylka laga saaro ilaalinta.'
		}
	}
},

--------------------------------------------------------------------------------
-- Protection levels
--------------------------------------------------------------------------------

-- This table provides the data for the ${PROTECTIONLEVEL} parameter, which
-- produces a short label for different protection levels. It is sorted by
-- protection action and protection level, and is checked in the following
-- order:
-- 1. page's protection action, page's protection level
-- 2. page's protection action, default protection level
-- 3. "edit" protection action, default protection level
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and upload subtables.
protectionLevels = {
	edit = {
		default = 'la ilaaliyay',
		templateeditor = 'template-ilaaliyay',
		extendedconfirmed = 'extended-confirmed-la ilaaliyay',
		autoconfirmed = 'ilaalin-nus ah',
	},
	move = {
		default = 'guuritaan-la ilaaliyay'
	},
	autoreview = {
	},
	upload = {
		default = 'soo-gelin-la ilaaliyay'
	}
},

--------------------------------------------------------------------------------
-- Images
--------------------------------------------------------------------------------

-- This table lists different padlock images for each protection action and
-- protection level. It is used if an image is not specified in any of the
-- banner data tables, and if the page does not satisfy the conditions for using
-- the ['image-filename-indef'] image. It is checked in the following order:
-- 1. page's protection action, page's protection level
-- 2. page's protection action, default protection level
images = {
	edit = {
		default = 'Full-protection-shackle.svg',
		templateeditor = 'Template-protection-shackle.svg',
		extendedconfirmed = 'Extended-protection-shackle.svg',
		autoconfirmed = 'Semi-protection-shackle.svg'
	},
	move = {
		default = 'Move-protection-shackle.svg',
	},
	autoreview = {
		default = 'Pending-protection-shackle.svg'
	},
	upload = {
		default = 'Upload-protection-shackle.svg'
	}
},

-- Pages with a reason specified in this table will show the special "indef"
-- padlock, defined in the 'image-filename-indef' message, if no expiry is set.
indefImageReasons = {
	template = true
},

--------------------------------------------------------------------------------
-- Image links
--------------------------------------------------------------------------------

-- This table provides the data for the ${IMAGELINK} parameter, which gets
-- the image link for small padlock icons based on the page's protection action
-- and protection level. It is checked in the following order:
-- 1. page's protection action, page's protection level
-- 2. page's protection action, default protection level
-- 3. "edit" protection action, default protection level
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and upload subtables.
imageLinks = {
	edit = {
		default = 'Wikipedia:Xeerka ilaalinta#full',
		templateeditor = 'Wikipedia:Xeerka ilaalinta#template',
		extendedconfirmed = 'Wikipedia:Xeerka ilaalinta#extended',
		autoconfirmed = 'Wikipedia:Xeerka ilaalinta#semi'
	},
	move = {
		default = 'Wikipedia:Xeerka ilaalinta#move'
	},
	autoreview = {
		default = 'Wikipedia:Xeerka ilaalinta#pending'
	},
	upload = {
		default = 'Wikipedia:Xeerka ilaalinta#upload'
	}
},

--------------------------------------------------------------------------------
-- Padlock indicator names
--------------------------------------------------------------------------------

-- This table provides the "name" attribute for the <indicator> extension tag
-- with which small padlock icons are generated. All indicator tags on a page
-- are displayed in alphabetical order based on this attribute, and with
-- indicator tags with duplicate names, the last tag on the page wins.
-- The attribute is chosen based on the protection action; table keys must be a
-- protection action name or the string "default".
padlockIndicatorNames = {
	autoreview = 'pp-autoreview',
	default = 'pp-default'
},

--------------------------------------------------------------------------------
-- Protection categories
--------------------------------------------------------------------------------

--[[
-- The protection categories are stored in the protectionCategories table.
-- Keys to this table are made up of the following strings:
--
-- 1. the expiry date
-- 2. the namespace
-- 3. the protection reason (e.g. "dispute" or "vandalism")
-- 4. the protection level (e.g. "sysop" or "autoconfirmed")
-- 5. the action (e.g. "edit" or "move")
-- 
-- When the module looks up a category in the table, first it will will check to
-- see a key exists that corresponds to all five parameters. For example, a
-- user page semi-protected from vandalism for two weeks would have the key
-- "temp-user-vandalism-autoconfirmed-edit". If no match is found, the module
-- changes the first part of the key to "all" and checks the table again. It
-- keeps checking increasingly generic key combinations until it finds the
-- field, or until it reaches the key "all-all-all-all-all".
--
-- The module uses a binary matrix to determine the order in which to search.
-- This is best demonstrated by a table. In this table, the "0" values
-- represent "all", and the "1" values represent the original data (e.g.
-- "indef" or "file" or "vandalism").
--
--        expiry    namespace reason   level     action
-- order
-- 1      1         1         1        1         1
-- 2      0         1         1        1         1
-- 3      1         0         1        1         1
-- 4      0         0         1        1         1
-- 5      1         1         0        1         1
-- 6      0         1         0        1         1
-- 7      1         0         0        1         1
-- 8      0         0         0        1         1
-- 9      1         1         1        0         1
-- 10     0         1         1        0         1
-- 11     1         0         1        0         1
-- 12     0         0         1        0         1
-- 13     1         1         0        0         1
-- 14     0         1         0        0         1
-- 15     1         0         0        0         1
-- 16     0         0         0        0         1
-- 17     1         1         1        1         0
-- 18     0         1         1        1         0
-- 19     1         0         1        1         0
-- 20     0         0         1        1         0
-- 21     1         1         0        1         0
-- 22     0         1         0        1         0
-- 23     1         0         0        1         0
-- 24     0         0         0        1         0
-- 25     1         1         1        0         0
-- 26     0         1         1        0         0
-- 27     1         0         1        0         0
-- 28     0         0         1        0         0
-- 29     1         1         0        0         0
-- 30     0         1         0        0         0
-- 31     1         0         0        0         0
-- 32     0         0         0        0         0
--
-- In this scheme the action has the highest priority, as it is the last
-- to change, and the expiry has the least priority, as it changes the most.
-- The priorities of the expiry, the protection level and the action are
-- fixed, but the priorities of the reason and the namespace can be swapped
-- through the use of the cfg.bannerDataNamespaceHasPriority table.
--]]

-- If the reason specified to the template is listed in this table,
-- namespace data will take priority over reason data in the protectionCategories
-- table.
reasonsWithNamespacePriority = {
	vandalism = true,
},

-- The string to use as a namespace key for the protectionCategories table for each
-- namespace number.
categoryNamespaceKeys = {
	[  2] = 'user',
	[  3] = 'user',
	[  4] = 'project',
	[  6] = 'file',
	[  8] = 'mediawiki',
	[ 10] = 'template',
	[ 12] = 'project',
	[ 14] = 'category',
	[100] = 'portal',
	[828] = 'module',
},

protectionCategories = {
	['all|all|all|all|all']                     = 'Wikipedia fully protected pages',
	['all|all|office|all|all']                  = 'Wikipedia Office-protected pages',
	['all|all|reset|all|all']                   = 'Wikipedia Office-protected pages',
	['all|all|dmca|all|all']                    = 'Wikipedia Office-protected pages',
	['all|all|mainpage|all|all']                = 'Wikipedia fully protected main page files',
	['all|all|all|extendedconfirmed|all']       = 'Wikipedia extended-confirmed-protected pages',
	['all|all|ecp|extendedconfirmed|all']       = 'Wikipedia extended-confirmed-protected pages',
	['all|template|all|all|edit']               = 'Wikipedia fully protected templates',
	['all|all|all|autoconfirmed|edit']          = 'Wikipedia semi-protected pages',
	['indef|all|all|autoconfirmed|edit']        = 'Wikipedia indefinitely semi-protected pages',
	['all|all|blp|autoconfirmed|edit']          = 'Wikipedia indefinitely semi-protected biographies of living people',
	['temp|all|blp|autoconfirmed|edit']         = 'Wikipedia temporarily semi-protected biographies of living people',
	['all|all|dispute|autoconfirmed|edit']      = 'Wikipedia pages semi-protected due to dispute',
	['all|all|sock|autoconfirmed|edit']         = 'Wikipedia pages semi-protected from banned users',
	['all|all|vandalism|autoconfirmed|edit']    = 'Wikipedia pages semi-protected against vandalism',
	['all|category|all|autoconfirmed|edit']     = 'Wikipedia semi-protected categories',
	['all|file|all|autoconfirmed|edit']         = 'Wikipedia semi-protected files',
	['all|portal|all|autoconfirmed|edit']       = 'Wikipedia semi-protected portals',
	['all|project|all|autoconfirmed|edit']      = 'Wikipedia semi-protected project pages',
	['all|talk|all|autoconfirmed|edit']         = 'Wikipedia semi-protected talk pages',
	['all|template|all|autoconfirmed|edit']     = 'Wikipedia semi-protected templates',
	['all|user|all|autoconfirmed|edit']         = 'Wikipedia semi-protected user and user talk pages',
	['all|all|all|templateeditor|move']         = 'Wikipedia template-protected pages other than templates and modules',
	['all|all|all|templateeditor|edit']         = 'Wikipedia template-protected pages other than templates and modules',
	['all|template|all|templateeditor|edit']    = 'Wikipedia template-protected templates',
	['all|template|all|templateeditor|move']    = 'Wikipedia template-protected templates', -- move-protected templates
	['all|all|blp|sysop|edit']                  = 'Wikipedia indefinitely protected biographies of living people',
	['temp|all|blp|sysop|edit']                 = 'Wikipedia temporarily protected biographies of living people',
	['all|all|dispute|sysop|edit']              = 'Wikipedia pages protected due to dispute',
	['all|all|sock|sysop|edit']                 = 'Wikipedia pages protected from banned users',
	['all|all|vandalism|sysop|edit']            = 'Wikipedia pages protected against vandalism',
	['all|category|all|sysop|edit']             = 'Wikipedia fully protected categories',
	['all|file|all|sysop|edit']                 = 'Wikipedia fully protected files',
	['all|project|all|sysop|edit']              = 'Wikipedia fully protected project pages',
	['all|talk|all|sysop|edit']                 = 'Wikipedia fully protected talk pages',
	['all|template|all|extendedconfirmed|edit'] = 'Wikipedia extended-confirmed-protected templates',
	['all|template|all|extendedconfirmed|move'] = 'Wikipedia extended-confirmed-protected templates',
	['all|template|all|sysop|edit']             = 'Wikipedia fully protected templates',
	['all|user|all|sysop|edit']                 = 'Wikipedia fully protected user and user talk pages',
	['all|module|all|all|edit']                 = 'Wikipedia fully protected modules',
	['all|module|all|templateeditor|edit']      = 'Wikipedia template-protected modules',
	['all|module|all|extendedconfirmed|edit']   = 'Wikipedia extended-confirmed-protected modules',
	['all|module|all|autoconfirmed|edit']       = 'Wikipedia semi-protected modules',
	['all|all|all|sysop|move']                  = 'Wikipedia move-protected pages',
	['indef|all|all|sysop|move']                = 'Wikipedia indefinitely move-protected pages',
	['all|all|dispute|sysop|move']              = 'Wikipedia pages move-protected due to dispute',
	['all|all|vandalism|sysop|move']            = 'Wikipedia pages move-protected due to vandalism',
	['all|portal|all|sysop|move']               = 'Wikipedia move-protected portals',
	['all|project|all|sysop|move']              = 'Wikipedia move-protected project pages',
	['all|talk|all|sysop|move']                 = 'Wikipedia move-protected talk pages',
	['all|template|all|sysop|move']             = 'Wikipedia move-protected templates',
	['all|user|all|sysop|move']                 = 'Wikipedia move-protected user and user talk pages',
	['all|all|all|autoconfirmed|autoreview']    = 'Wikipedia pending changes protected pages',
	['all|file|all|all|upload']                 = 'Wikipedia upload-protected files',
},

--------------------------------------------------------------------------------
-- Expiry category config
--------------------------------------------------------------------------------

-- This table configures the expiry category behaviour for each protection
-- action.
-- * If set to true, setting that action will always categorise the page if
--   an expiry parameter is not set.
-- * If set to false, setting that action will never categorise the page.
-- * If set to nil, the module will categorise the page if:
--   1) an expiry parameter is not set, and
--   2) a reason is provided, and
--   3) the specified reason is not blacklisted in the reasonsWithoutExpiryCheck
--      table.

expiryCheckActions = {
	edit = nil,
	move = false,
	autoreview = true,
	upload = false
},

reasonsWithoutExpiryCheck = {
	blp = true,
	template = true,
},

--------------------------------------------------------------------------------
-- Pagetypes
--------------------------------------------------------------------------------

-- This table produces the page types available with the ${PAGETYPE} parameter.
-- Keys are namespace numbers, or the string "default" for the default value.
pagetypes = {
	[0] = 'article',
	[6] = 'file',
	[10] = 'template',
	[14] = 'category',
	[828] = 'module',
	default = 'page'
},

--------------------------------------------------------------------------------
-- Strings marking indefinite protection
--------------------------------------------------------------------------------

-- This table contains values passed to the expiry parameter that mean the page
-- is protected indefinitely.
indefStrings = {
	['indef'] = true,
	['indefinite'] = true,
	['indefinitely'] = true,
	['infinite'] = true,
},

--------------------------------------------------------------------------------
-- Group hierarchy
--------------------------------------------------------------------------------

-- This table maps each group to all groups that have a superset of the original
-- group's page editing permissions.
hierarchy = {
	sysop = {},
	reviewer = {'sysop'},
	filemover = {'sysop'},
	templateeditor = {'sysop'},
	extendedconfirmed = {'sysop'},
	autoconfirmed = {'reviewer', 'filemover', 'templateeditor', 'extendedconfirmed'},
	user = {'autoconfirmed'},
	['*'] = {'user'}
},

--------------------------------------------------------------------------------
-- Wrapper templates and their default arguments
--------------------------------------------------------------------------------

-- This table contains wrapper templates used with the module, and their
-- default arguments. Templates specified in this table should contain the
-- following invocation, and no other template content:
--
-- {{#invoke:Protection banner|main}}
--
-- If other content is desired, it can be added between
-- <noinclude>...</noinclude> tags.
--
-- When a user calls one of these wrapper templates, they will use the
-- default arguments automatically. However, users can override any of the
-- arguments.
wrappers = {
	['Template:Protected page']							= {},
	['Template:Extended confirmed–protected']			= {'ecp'},
	['Template:Protected biography of a living person']	= {'blp'},
	['Template:Protected due to a dispute']				= {'dispute'},
	['Template:Move-protected']							= {action = 'move', catonly = 'yes'},
	['Template:Move-protected due to a dispute']		= {'dispute', action = 'move', catonly = 'yes'},
	['Template:Move-protected due to vandalism']		= {'vandalism', action = 'move', catonly = 'yes'},
	['Template:Office-protected']						= {'office'},
	['Template:Pending changes–protected']				= {action = 'autoreview', small = true},
	['Template:Semi-protected indefinitely']			= {small = true},
	['Template:Protected due to sockpuppetry']			= {'sock'},
	['Template:Template-protected']						= {'template', small = true},
	['Template:Upload-protected']						= {action = 'upload'},
	['Template:Protected talk page of a blocked user']	= {'usertalk'},
	['Template:Protected due to vandalism']				= {'vandalism'},
},

--------------------------------------------------------------------------------
-- 
--                                 MESSAGES
-- 
--------------------------------------------------------------------------------

msg = {

--------------------------------------------------------------------------------
-- Intro blurb and intro fragment
--------------------------------------------------------------------------------

-- These messages specify what is produced by the ${INTROBLURB} and
-- ${INTROFRAGMENT} parameters. If the protection is temporary they use the
-- intro-blurb-expiry or intro-fragment-expiry, and if not they use
-- intro-blurb-noexpiry or intro-fragment-noexpiry.
-- It is possible to use banner parameters in these messages.
['intro-blurb-expiry'] = '${PROTECTIONBLURB} ilaa ${EXPIRY}.',
['intro-blurb-noexpiry'] = '${PROTECTIONBLURB}.',
['intro-fragment-expiry'] = '${PROTECTIONBLURB} ilaa ${EXPIRY},',
['intro-fragment-noexpiry'] = '${PROTECTIONBLURB}',

--------------------------------------------------------------------------------
-- Tooltip blurb
--------------------------------------------------------------------------------

-- These messages specify what is produced by the ${TOOLTIPBLURB} parameter.
-- If the protection is temporary the tooltip-blurb-expiry message is used, and
-- if not the tooltip-blurb-noexpiry message is used.
-- It is possible to use banner parameters in these messages.
['tooltip-blurb-expiry'] = '${PAGETYPE}-kan waa mid ${PROTECTIONLEVEL} ilaa ${EXPIRY}.',
['tooltip-blurb-noexpiry'] = '${PAGETYPE}-kan waa mid ${PROTECTIONLEVEL}.',
['tooltip-fragment-expiry'] = '${PAGETYPE}-kan waa mid ${PROTECTIONLEVEL} ilaa ${EXPIRY},',
['tooltip-fragment-noexpiry'] = '${PAGETYPE}-kan waa mid ${PROTECTIONLEVEL}',

--------------------------------------------------------------------------------
-- Special explanation blurb
--------------------------------------------------------------------------------

-- An explanation blurb for pages that cannot be unprotected, e.g. for pages
-- in the MediaWiki namespace.
-- It is possible to use banner parameters in this message.
['explanation-blurb-nounprotect'] = 'Eeg [[Wikipedia:Xeerka ilaalinta|'
	.. 'xeerka ilaalinta]] iyo ${PROTECTIONLOG} si aad u hesho faahfaahin dheeraad ah.'
	.. ' Fadlan kala hadal wixii isbeddel ah ${TALKPAGE}; waxaad'
	.. ' awoodaa inaad ${EDITREQUEST} kaga codsato'
	.. ' [[Wikipedia:Maamulayaasha|maamule]] inuu sameeyo wax ka beddel haddii uu'
	.. ' yahay mid [[Help:Isbeddel yar#Marka loo meel dhigo isbeddel yar ahaan'
	.. '|aan lagu muransanayn]] ama ay taageerto [[Wikipedia:Is-afgarad'
	.. '|is-afgarad]].',

--------------------------------------------------------------------------------
-- Protection log display values
--------------------------------------------------------------------------------

-- These messages determine the display values for the protection log link
-- or the pending changes log link produced by the ${PROTECTIONLOG} parameter.
-- It is possible to use banner parameters in these messages.
['protection-log-display'] = 'diiwaanka ilaalinta',
['pc-log-display'] = 'diiwaanka isbeddellada sugaya',

--------------------------------------------------------------------------------
-- Current version display values
--------------------------------------------------------------------------------

-- These messages determine the display values for the page history link
-- or the move log link produced by the ${CURRENTVERSION} parameter.
-- It is possible to use banner parameters in these messages.
['current-version-move-display'] = 'cinwaanka hadda',
['current-version-edit-display'] = 'nuqulka hadda',

--------------------------------------------------------------------------------
-- Talk page
--------------------------------------------------------------------------------

-- This message determines the display value of the talk page link produced
-- with the ${TALKPAGE} parameter.
-- It is possible to use banner parameters in these messages.
['talk-page-link-display'] = 'bogga wadahadalka',

--------------------------------------------------------------------------------
-- Edit requests
--------------------------------------------------------------------------------

-- This message determines the display value of the edit request link produced
-- with the ${EDITREQUEST} parameter.
-- It is possible to use banner parameters in these messages.
['edit-request-display'] = 'gudbi codsi wax ka beddel ah',

--------------------------------------------------------------------------------
-- Expiry date format
--------------------------------------------------------------------------------

-- This is the format for the blurb expiry date. It should be valid input for
-- the first parameter of the #time parser function.
['expiry-date-format'] = 'F j, Y',

--------------------------------------------------------------------------------
-- Tracking categories
--------------------------------------------------------------------------------

-- These messages determine which tracking categories the module outputs.
['tracking-category-incorrect'] = 'Wikipedia bogagga leh template-yada ilaalinta ee khaldan',
['tracking-category-template'] = 'Wikipedia bogagga template-yada ee la ilaaliyay oo aan ahayn template-yada iyo module-nada',

--------------------------------------------------------------------------------
-- Images
--------------------------------------------------------------------------------

-- These are images that are not defined by their protection action and protection level.
['image-filename-indef'] = 'Full-protection-shackle.svg',
['image-filename-default'] = 'Transparent.gif',

--------------------------------------------------------------------------------
-- End messages
--------------------------------------------------------------------------------
}

--------------------------------------------------------------------------------
-- End configuration
--------------------------------------------------------------------------------
}