Jump to content

Module:Sister project links/config

Permanently protected module
From Wikipedia, the free encyclopedia
-- Configuration file for Module:Sister project links
-- See Module:Sister project links/config-sand for version used by sandbox

local logo = {
	wikt="Wiktionary-logo-v2.svg",
	c="Commons-logo.svg",
	n="Wikinews-logo.svg",
	q="Wikiquote-logo.svg",
	s="Wikisource-logo.svg",
	b="Wikibooks-logo.svg",
	voy="Wikivoyage-Logo-v3-icon.svg",
	v="Wikiversity logo 2017.svg",
	species="Wikispecies-logo.svg",
	iw="Wikipedia-logo-v2.svg",
	iw1="Wikipedia-logo-v2.svg",
	iw2="Wikipedia-logo-v2.svg",
	d="Wikidata-logo.svg",
	m="Wikimedia Community Logo.svg",
	mw="MediaWiki-2020-icon.svg",
	f="Wikifunctions-logo-en.svg"}

local prefixList = {'wikt', 'c', 'n', 'q', 's', 'b', 'v', 'voy',
	'species', 'species_author', 'iw', 'iw1', 'iw2', 'd', 'm', 'mw', 'f'}

local sisterName = {
	wikt="Wiktionary",
	c="Commons",
	n="Wikinews",
	q="Wikiquote",
	s="Wikisource",
	b="Wikibooks",
	voy="Wikivoyage",
	v="Wikiversity",
	species="Wikispecies",
	iw="Wikipedia",
	iw1="Wikipedia",
	iw2="Wikipedia",
	d="Wikidata",
	m="Meta-Wiki",
	mw="MediaWiki",
    f="Wikifunctions"}

local sisterInfo = {
	wikt="Definitions",
	c="Media",
	n="News",
	q="Quotations",
	s="Texts",
	b="Textbooks",
	voy="Travel guides",
	v="Resources",
	species="Taxa",
	species_author="Authorship",
	iw="edition",
	iw1="edition",
	iw2="edition",
	d="Data",
	m="Discussions",
	mw="Documentation",
    f="Functions"}

local defaultSisters = {
	wikt=true,
	c=true,
	n=true,
	q=true,
	s=true,
	b=true,
	voy='auto',
	v=true,
	species='auto',
	species_author=false,
	iw=false,
	iw1=false,
	iw2=false,
	d=false,
	m=false,
	mw=false,
    f=false
}

local sisterDb = {	
	wikt="enwiktionary",
	n="enwikinews",
	q="enwikiquote",
	s="enwikisource",
	b="enwikibooks",
	voy="enwikivoyage",
	v="enwikiversity",
	species="specieswiki"}

local trackingType = {
	wdMismatch="Pages using Sister project links with wikidata mismatch",
	wdNamespace="Pages using Sister project links with wikidata namespace mismatch",
	wdHidden="Pages using Sister project links with hidden wikidata",
	defaultSearch="Pages using Sister project links with default search"}

local cfg = {logo=logo, prefixList=prefixList, sisterName=sisterName,
	sisterInfo=sisterInfo, defaultSisters=defaultSisters, sisterDb=sisterDb,
	trackingType=trackingType}

return cfg