Module:InterwikiTable/doc

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, like this:

Table fields
The table is made up of subtables for each interwiki destination. For example,  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:
 * - The base domain name of the website, without any language codes.
 * - Whether this is the primary entry for the domain.
 * - A table of valid interwiki prefixes for the site. See Help:Interwiki linking.
 * - The text between the domain name and the project's article titles.
 * - Whether the project has separate subdomains for different languages, e.g. es.wikipedia.org.

Examples

 * &rarr; "wikipedia.org"
 * &rarr; true
 * &rarr; "mw"
 * &rarr; "/wiki/"
 * &rarr; false