Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

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 prefixList = {'wikt', 'c', 'q', 's', 'b', 'v', 'voy',
	'species', 'species_author', 'iw', 'iw1', 'iw2', 'd', 'm', 'mw', 'f'}

local sisterName = {
	wikt="Wiktionary",
	c="Commons",
	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",
	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,
	q=true,
	s=true,
	b=true,
	voy='auto',
	v=true,
	species='auto'
}

local sisterDb = {	
	wikt="enwiktionary",
	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 = {
	prefixList=prefixList, sisterName=sisterName, sisterInfo=sisterInfo,
    defaultSisters=defaultSisters, sisterDb=sisterDb, trackingType=trackingType
}

return cfg