local configured_claims = {}

configured_claims['ar'] = {


-- General

--- person ID
--	{ prop='P1006', message='[$2 $1] على موقع [[National Thesaurus for Author Names]]$3', short='[$2 National Thesaurus for Author Names]', langcode='en' },
--	{ prop='P1819', message='[$2 $1] على موقع [[genealogics.org]]$3', short='[$2 genealogics.org]', langcode='en' },
	{ prop='P9610', message='[$2 $1] على موقع [[بوابة الشعراء]]$3', short='[$2 بوابة الشعراء]', langcode='ar' },
	{ prop='P10679', message='[$2 $1] على موقع [[موسوعة الديوان الشعرية]]$3', short='[$2 aldiwan]', langcode='ar' },
	{ prop='P9792', message='[$2 $1] على موقع [[أرشيف الشارخ]]$3', short='[$2 الشارخ]', langcode='ar' },
	{ prop='P10582', message='[$2 $1] على موقع [[الحوار المتمدن]]$3', short='[$2 www.ahewar.org]', langcode='ar' },

--- Books ID
	{ prop='P243', message='[$2 $1] على موقع [[مركز المكتبة الرقمية على الإنترنت|OCLC]]$3', short='[$2 OCLC]', langcode='en' },
	{ prop='P648', message='[$2 $1] على موقع [[المكتبة المفتوحة]]$3', short='[$2 المكتبة المفتوحة]', langcode='en' },
	{ prop='P675', message='[$2 $1] على موقع [[كتب جوجل|Google Books]]$3', short='[$2 Google Books]', langcode='en' },
	{ prop='P2969', message='[$2 $1] على موقع [[جود ريدز|Goodreads]]$3', short='[$2 Goodreads]', langcode='en' },
	{ prop='P2034', message='[$2 $1] على موقع [[مشروع غوتنبرغ|Project Gutenberg]]$3', short='[$2 Gutenberg]', langcode='en' },
	{ prop='P5571', message='[$2 $1] على موقع [[نووسفير|noosfere.org]]$3', short='[$2 NooSFere]', langcode='fr' },
	{ prop='P1274', message='[$2 $1] على موقع [[ISFDB|Internet Speculative Fiction Database]]$3', short='[$2 ISFDB]', langcode='en' },
	---{ prop='P244', message='[$2 $1] على موقع [[مكتبة الكونغرس|Library of Congress]]$3', short='[$2 Library of Congress]', langcode='en' },

--معرف قصيدة
	{ prop='P9911', message='[$2 $1] على موقع [[بوابة الشعراء]]$3', short='[$2 بوابة الشعراء]', langcode='ar' },
	{ prop='P10684', message='[$2 $1] على موقع [[موسوعة الديوان الشعرية]]$3', short='[$2 aldiwan]', langcode='ar' },
}

local messages_conf = {}
messages_conf['ar'] = {
	['short-list-separator'] = ' — ',
	['with-data-cat']              = '[[تصنيف:مقالات تستعمل روابط ثقافية ببيانات من ويكي بيانات]]',
--[[Articles using sports links with data from Wikidata]]

	['no-data-text']               = "''لا بيانات لهذه المقالة على ويكي بيانات تخص الفن''",
--"''This article has no properties for sports databases in Wikidata''",
	['no-data-cat']                = '[[تصنيف:مقالات تستعمل روابط ثقافية بلا بيانات على ويكي بيانات]]',
--'[[Category:Articles using sports links with no data in Wikidata]]',
	['no-wikilink']                = "''مقالات تستعمل روابط ثقافية بلا صلة مع ويكي بيانات''",
--"''This article has no link in Wikidata''",
	['no-wikilink-cat']            = "[[تصنيف:مقالات تستعمل روابط ثقافية بلا صلة مع ويكي بيانات]]",
--"[[Category:Articles using sports links with no link in Wikidata]]",

	['with-local-cat']             = "[[تصنيف:مقالات تستعمل روابط ثقافية بناءا على بيانات محلية]]",
--'[[Category:Articles using sports links with local values]]',

	['track-cat-wd-wd']            = '[[تصنيف:صفحات تستخدم خاصية $1]]',
--'[[Category:Articles using sports links with $1 from Wikidata]]',

	['track-cat-local-local']      = '[[تصنيف:مقالات تستعمل روابط ثقافية ب $1 من بيانات محلية]]',
--'[[Category:Articles using sports links with $1 from local value]]',

	['track-cat-wd-local']         = '[[تصنيف:مقالات تستعمل روابط ثقافية ب $1 من ويكي بيانات مع وجود بيانات محلية]]',
--'[[Category:Articles using sports links with $1 from Wikidata but has local value]]',

	['track-cat-local-wd']         = '[[تصنيف:مقالات تستعمل روابط ثقافية ب $1 من بيانات محلية مع وجود ويكي بيانات]]',
--'[[Category:Articles using sports links with $1 from local value but has Wikidata]]',

	['track-cat-local-wd-equal']   = '[[تصنيف:مقالات تستعمل روابط ثقافية ب $1 من بيانات محلية مطابقة لويكي بيانات]]',
--"[[Category:Articles using sports links with $1 from local value same as Wikidata]]",

	['track-cat-local-wd-unequal'] = '[[تصنيف:مقالات تستعمل روابط ثقافية ب $1 من بيانات محلية مختلفة عن ويكي بيانات]]',
--"[[Category:Articles using sports links with $1 from local value different from Wikidata]]",
}
local limits = {
	['links-shown'] = 10,		-- maximum number of links shown in the article.
}

local p = {}

function p.getConfiguredClaims (self, lang)
	return configured_claims[lang]
end

function p.getLimits (self)
	return limits
end

function p.getMessage (self, lang, msg)
	return messages_conf[lang][msg] 
end

-- metatable for the export
local mt = {
	-- adjust the installation of the module
	['__call'] = function (self, lang)
		self.configured_claims = configured_claims[lang]
		self.messages_conf = messages_conf[lang]
		return self
	end
}

-- install the metatable
setmetatable(p, mt)

return p