Interwiki module for DRUPAL

From SourceWatch
Jump to navigation Jump to search

The Center for Media and Democracy has developed a plug-in for any DRUPAL site that enables easy, wiki-style linking to several mediawiki sites in DRUPAL postings.

How to install the interwiki module

How to use the interwiki module

Once the module is installed, you can easily link to terms in wikis and various other websites using a simplified markup syntax. For example, "[prefix:some term]" creates a hyperlink to the "some term" article on the website specified by "prefix." It is also possible to use the "|" character to create a "piped link," with display text that is different from the search term. For example, "[sw:public transport|public transportation]" would be translated as a reference to an article about "public transport" that displays as "public transportation".

Available prefixes are:

PrefixTranslates to
kos: http://www.dkosopedia.com/index.php/
w: http://en.wikipedia.org/wiki/
dis: https://www.sourcewatch.org/index.php?title=
http: http:
: a local path on this website
ebay: http://search.ebay.com/
googledef: http://www.google.com/search?&q=define%3A
google: http://www.google.com/search?q=%22%22
dict: http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=
sw: https://www.sourcewatch.org/index.php?title=
bw: https://www.prwatch.org/plan/index.php?title=
th: http://thesaurus.reference.com/search?q=
archive: http://web.archive.org/web/*/http://
chemical: http://www.chemicalindustryarchives.org/search/search2.asp?cmd=search&request=&submit1=Search&i=cma&sort=date&stemming=Yes
whois: http://reports.internic.net/cgi/whois?whois_nic=&type=domain
opendir: http://search.dmoz.org/cgi-bin/search?search=
tobacco: http://legacy.library.ucsf.edu/cgi/b/bib/bib-idx?type=simple&c=at&c=bw&c=ct&c=ll&c=pm&c=rj&c=ti&xc=1&q1=&rgn1=entire+record
ccr: http://www.cooperativeresearch.org/entity.jsp?entity=
amazon: http://www.amazon.com/exec/obidos/ASIN/
tv: https://www.sourcewatch.org/index.php?title=_(TV_Station)