Module:InterwikiTable
-------------------------------------------------------------------------
 -- This is a table of sites that are available through interwiki links --
 -- from Wikipedia. It can be accessed from Lua via the mw.loadData()   --
 -- function. It is currently used in [[Module:UrlToWiki]] and          --
 -- [[Module:UserLinks]]. Feel free to add to its functionality and to  --
 -- include new sites.                                                  --
 -------------------------------------------------------------------------
 
 -- Example entry:
 
 --  wikipedia = {                               -- This is a code that you can use to easily identify the project in the table.
 --      domain            = &quot;wikipedia.org&quot;,    -- The base domain name of the website, without any language codes.
 --      domain_primary    = true                -- Whether this is the primary entry for the domain.
 --      iw_prefix         = {&quot;w&quot;, &quot;wikipedia&quot;}, -- A table of valid interwiki prefixes for the site. See [[Help:Interwiki linking]].
 --      title_prefix      = &quot;/wiki/&quot;,           -- The text between the domain name and the project's article titles.
 --      takes_lang_prefix = true                -- Whether the project has separate subdomains for different languages, e.g. es.wikipedia.org
 --  },
 
 interwiki_table = {
 
 ------------------------
 -- Wikimedia projects --
 ------------------------
 
     wikipedia = {
         domain            = &quot;wikipedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;w&quot;, &quot;wikipedia&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = true
     },
     wiktionary = {
         domain            = &quot;wiktionary.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wikt&quot;, &quot;wiktionary&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = true
     },
     wikinews = {
         domain            = &quot;wikinews.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;n&quot;, &quot;wikinews&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = true
     },
     wikibooks = {
         domain            = &quot;wikibooks.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;b&quot;, &quot;wikibooks&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = true
     },
     wikiquote = {
         domain            = &quot;wikiquote.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;q&quot;, &quot;wikiquote&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = true
     },
     wikisource = {
         domain            = &quot;wikisource.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;s&quot;, &quot;wikisource&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = true
     },
     wikispecies = {
         domain            = &quot;species.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;species&quot;, &quot;wikispecies&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wikiversity = {
         domain            = &quot;wikiversity.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;v&quot;, &quot;wikiversity&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = true
     },
     wikivoyage = {
         domain            = &quot;wikivoyage.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;voy&quot;, &quot;wikivoyage&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = true
     },
     wmf = {
         domain            = &quot;wikimediafoundation.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmf&quot;, &quot;wikimedia&quot;, &quot;foundation&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     commons = {
         domain            = &quot;commons.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;c&quot;, &quot;commons&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wikidata = {
         domain            = &quot;wikidata.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;d&quot;, &quot;wikidata&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     meta = {
         domain = &quot;meta.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;m&quot;, &quot;meta&quot;, &quot;metawiki&quot;, &quot;metawikimedia&quot;, &quot;metawikipedia&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     mediawiki = {
         domain = &quot;mediawiki.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;mw&quot;, &quot;mediawikiwiki&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     
 ------------------------
 -- Wikimedia chapters --
 ------------------------
 
     wmar = {
         domain            = &quot;wikimedia.org.ar&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmar&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wmau = {
         domain            = &quot;wikimedia.org.au&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmau&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wmbd = {
         domain            = &quot;bd.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmbd&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wmbe = {
         domain            = &quot;be.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmbe&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wmca = {
         domain            = &quot;wikimedia.ca&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmca&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wmde = {
         domain            = &quot;wikimedia.de&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmde&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wmfi = {
         domain            = &quot;fi.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmfi&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wmhk = {
         domain            = &quot;wikimedia.hk&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmhk&quot;},
         title_prefix      = &quot;/index.php/&quot;,
         takes_lang_prefix = false
     },
     wmhu = {
         domain            = &quot;wikimedia.hu&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmhu&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wmin = {
         domain            = &quot;wiki.wikimedia.in&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmin&quot;},
         title_prefix      = &quot;/&quot;,
         takes_lang_prefix = false
     },
     wmid = {
         domain            = &quot;wikimedia.or.id&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmid&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wmil = {
         domain            = &quot;wikimedia.org.il&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmil&quot;},
         title_prefix      = &quot;/&quot;,
         takes_lang_prefix = false
     },
     wmit = {
         domain            = &quot;wikimedia.it&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmit&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wmnl = {
         domain            = &quot;nl.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmnl&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wmno = {
         domain            = &quot;no.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmno&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wmpl = {
         domain            = &quot;pl.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmpl&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wmru = {
         domain            = &quot;ru.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmru&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wmrs = {
         domain            = &quot;rs.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmrs&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wmse = {
         domain            = &quot;se.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmse&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wmch = {
         domain            = &quot;wikimedia.ch&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmch&quot;},
         title_prefix      = &quot;/&quot;,
         takes_lang_prefix = false
     },
     wmtw = {
         domain            = &quot;tw.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmtw&quot;},
         title_prefix      = &quot;/wiki/index.php5/&quot;,
         takes_lang_prefix = false
     },
     wmuk = {
         domain            = &quot;uk.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmuk&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
 
 ---------------
 -- Wikimania --
 ---------------
 
     wikimania = {
         domain            = &quot;wikimania.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmania&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wikimania2005 = {
         domain            = &quot;wikimania2005.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wm2005&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wikimania2006 = {
         domain            = &quot;wikimania2006.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wm2006&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wikimania2007 = {
         domain            = &quot;wikimania2007.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wm2007&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wikimania2008 = {
         domain            = &quot;wikimania2008.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wm2008&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wikimania2009 = {
         domain            = &quot;wikimania2009.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wm2009&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wikimania2010 = {
         domain            = &quot;wikimania2010.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wm2010&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wikimania2011 = {
         domain            = &quot;wikimania2011.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wm2011&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wikimania2012 = {
         domain            = &quot;wikimania2012.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wm2012&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wikimania2013 = {
         domain            = &quot;wikimania2013.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wm2013&quot;, &quot;wmania&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wikimania2014 = {
         domain            = &quot;wikimania2014.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wm2014&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wikimania2015 = {
         domain            = &quot;wikimania2015.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wm2015&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wikimania2016 = {
         domain            = &quot;wikimania2016.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wm2016&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     wikimaniateam = {
         domain            = &quot;wikimaniateam.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmteam&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
 
 ---------------------------
 -- Other Wikimedia wikis --
 ---------------------------
 
     wikitech = {
         domain            = 'wikitech.wikimedia.org',
         domain_primary    = true,
         iw_prefix         = {&quot;wikitech&quot;, &quot;labsconsole&quot;},
         title_prefix      = '/wiki/',
         takes_lang_prefix = false
     },
     betawikiversity = {
         domain            = &quot;beta.wikiversity.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;betawikiversity&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     outreach = {
         domain            = &quot;outreach.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;outreach&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     otrswiki = {
         domain            = &quot;otrs-wiki.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;OTRSwiki&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     quality = {
         domain            = &quot;quality.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;quality&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     spcom = {
         domain            = &quot;spcom.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;spcom&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     spcom = {
         domain            = &quot;spcom.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;spcom&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     tswiki = {
         domain            = &quot;wiki.toolserver.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;tswiki&quot;},
         title_prefix      = &quot;/view/&quot;,
         takes_lang_prefix = false
     },
     incubator = {
         domain            = &quot;incubator.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;incubator&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     strategy = {
         domain            = &quot;strategy.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;strategy&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     rev = {
         domain            = &quot;www.mediawiki.org&quot;,
         domain_primary    = false,
         iw_prefix         = {&quot;rev&quot;},
         title_prefix      = &quot;/wiki/Special:Code/MediaWiki/&quot;,
         takes_lang_prefix = false
     },
     test = {
         domain            = &quot;test.wikipedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;testwiki&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     test2 = {
         domain            = &quot;test2.wikipedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;test2wiki&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
 
 ------------------------------
 -- Wikimedia non-wiki sites --
 ------------------------------
 
     blog = {
         domain            = &quot;blog.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;wmflbog&quot;},
         title_prefix      = &quot;/&quot;,
         takes_lang_prefix = false
     },
     bugzilla = {
         domain            = &quot;bugzilla.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;bugzilla&quot;, &quot;mediazilla&quot;},
         title_prefix      = &quot;/show_bug.cgi?id=&quot;,
         takes_lang_prefix = false
     },
     download = {
         domain            = &quot;dumps.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;download&quot;},
         title_prefix      = &quot;/&quot;,
         takes_lang_prefix = false
     },
     gerrit = {
         domain            = &quot;gerrit.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;gerrit&quot;},
         title_prefix      = &quot;/r/#/c/&quot;,
         takes_lang_prefix = false
     },
     mail = {
         domain            = &quot;lists.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;mail&quot;},
         title_prefix      = &quot;/mailman/listinfo/&quot;,
         takes_lang_prefix = false
     },
     mailarchive = {
         domain            = &quot;lists.wikimedia.org&quot;,
         domain_primary    = false,
         iw_prefix         = {&quot;mailarchive&quot;},
         title_prefix      = &quot;/pipermail/&quot;,
         takes_lang_prefix = false
     },
     nostalgia = {
         domain            = &quot;nostalgia.wikipedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;nost&quot;, &quot;nostalgia&quot;},
         title_prefix      = &quot;/wiki/&quot;,
         takes_lang_prefix = false
     },
     otrs = {
         domain            = &quot;ticket.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;otrs&quot;, &quot;ticket&quot;},
         title_prefix      = &quot;/otrs/index.pl?Action=AgentTicketZoom&amp;TicketID=&quot;,
         takes_lang_prefix = false
     },
     phabricator = {
         domain            = &quot;phabricator.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;phabricator&quot;, &quot;phab&quot;},
         title_prefix      = &quot;/&quot;,
         takes_lang_prefix = false
     },
     toollabs = {
         domain            = &quot;tools.wmflabs.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;toollabs&quot;},
         title_prefix      = &quot;/&quot;,
         takes_lang_prefix = false
     },
     toolserver = {
         domain            = &quot;toolserver.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;tools&quot;},
         title_prefix      = &quot;/&quot;,
         takes_lang_prefix = false
     },
     sulutil = {
         domain            = &quot;meta.wikimedia.org&quot;,
         domain_primary    = false,
         iw_prefix         = {&quot;sulutil&quot;},
         title_prefix      = &quot;/wiki/Special:CentralAuth/&quot;,
         takes_lang_prefix = false
     },
     svn = {
         domain            = &quot;svn.wikimedia.org&quot;,
         domain_primary    = true,
         iw_prefix         = {&quot;svn&quot;},
         title_prefix      = &quot;/viewvc/mediawiki/&quot;,
         takes_lang_prefix = false
     }
 }