ChatInterwikiLinks (CIL) allows you to use interwiki links in chat, such as [[wikipedia:]] and [[mediawikiwiki:]], which can only be linked to as URL links by default.



The syntax for an interwiki is the following:

[[prefix:Page Name]]
[[prefix:Page Name|Link text]]

The prefix is the prefix for the interwiki link. The prefix is incase sensitive.

Custom prefixes

You can set define custom interwiki prefixes by placing the following object before the import function:

CustomLinks = {
	custom_prefix_1: "",
	custom_prefix_2: "",
	custom_prefix_3: ""

custom_prefix_n is the prefix that would trigger this interwiki link, and its value- the URL followed by it- is the full URL of this wiki, including the protocol (http://).

Note! although when typing a link in chat, the prefix may be case insensitive, the prefix property in the object must be in lowercase.

Disabling default links

You can disable the default links by adding the preventDefault property to the object and by setting it to true. For example:

CustomLinks = {
	custom_prefix_1: "",
	custom_prefix_2: "",
	custom_prefix_3: "",
	preventDefault: true


  • April 2, 2014 - ChatInterwikiLinks is released.
Community content is available under CC-BY-SA unless otherwise noted.