User:Whiteknight/Remotetalk Gadget

Remote Talk Gadget (Version 3.01)

Accessing the Gadget
Once you have installed the necessary javascript and properly configured it (see below), you can access the remote talk gadget by coming to this page or by transcluding this page into another page where you want it to appear (such as your user or user talk page). To do this, add this to the appropriate page:

How to Configure
To configure this gadget to look at the correct pages, you need to create a 2-D array named "Alias" to contain the parameters:

var Alias = new Array(  [LANG, PROJECT, USERNAME, LINKNAME],   [LANG, PROJECT, USERNAME, LINKNAME],   ...);

The LANG is the 2 or 3 letter language code (such as "en"). PROJECT is the name of the project using all lower-case letters. The URL is created by:

LANG.PROJECT.org

So if you want to make a link to a page at meta, you would say:

['meta', 'wikimedia', ...],

The USERNAME is your username on that project. LINKNAME is the words that you want to appear as the hyperlink. For instance, the following code: var Alias = new Array(  ['en', 'wikipedia', 'TimmyWikibookian', 'Me at Wikipedia'] ); import_script('User:Whiteknight/remotetalk2.js');

Will produce a link that says "Me At Wikipedia", and loads the page at en.wikipedia.org/wiki/User:TimmyWikibookian". If you leave one of the fields blank, or if you do not create an Alias array at all, defaults will be provided for you.


 * Note:I am working on an easier way to install the gadget. Future versions will hopefully be easier to install.

About this Gadget
This gadget is used to view the talk pages of multiple user accounts on other projects from a single location. It uses IFRAME elements for the page loads, instead of AJAX, so that the server can be remote. You must install the script and properly configure it before use.

To Do

 * Figure out why it doesnt work in safari

Version History

 * 3.01 Fixed for complete compatibility with IE
 * 3.00 Complete rewrite using new gadgets framework.
 * 2.00 Major rewrite, integrated into my gadgets framework, allowed default parameters for various fields.
 * 1.00 First stable version