Module:InterwikiTable/doc explained

This is a table of sites containing data about the interwiki prefixes of various Wikimedia sites.

Usage

The module cannot be accessed directly from #invoke. It should be loaded from another Lua module using mw.loadData, like this:

local interwiki_table = mw.loadData('Module:InterwikiTable')

Table fields

The table is made up of subtables for each interwiki destination. For example, interwiki_table.wikipedia points to the entry for Wikipedia. Entries usually correspond to a Wikimedia site, but not always. For example, both the "rev" and "mediawiki" subtables point to mediawiki.org.

Each subtable has five fields:

Examples

See also