Manual:Iwlinks table

The iwlinks table stores the interwiki>Special:MyLanguage/Help:Interwiki linking|interwiki links with their targets.

Not to confuse with the  table.

iwl_from
The   of the referring page (i.e. the local page that the link appears on).

iwl_prefix
interwiki>Special:MyLanguage/Manual:Interwiki table|interwiki prefix code of the target.

This is used the same way as a namespace is used when editing.

iwl_title
The title of the target page, including namespace (FULLPAGENAMEE style).

Spaces are converted to underscores, but the first letter is not automatically capitalized.

So for example, an interwiki link to foo bar would have an iwl_title of "foo_bar".

Schema summary
DESCRIBE iwlinks; ++-+--+-+-+---+ ++-+--+-+-+---+ ++-+--+-+-+---+
 * Field     | Type                | Null | Key | Default | Extra |
 * iwl_from  | int(10) unsigned    | NO   | PRI | 0       |       |
 * iwl_prefix | varbinary(20)      | NO   | PRI |         |       |
 * iwl_title | varchar(255) binary | NO   | PRI |         |       |