Jump to content

User:Χ/common.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Χ (talk | contribs) at 02:06, 8 April 2012. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
importScript('User:WOSlinker/hlist.js');
if ($.client.profile().platform == 'win') {
    mw.util.addCSS('.IPA, .Unicode { font-family: "Arial", "Arial Unicode MS", "Lucida Sans Unicode"; }');
}
var collapseCaption = 'h' //text of the [hide] link (default='hide')
var expandCaption = 's' //text of the [show] link (default='show')

// Add [[WP:Reflinks]] launcher in the toolbox on left
addOnloadHook(function () {
 addPortletLink(
  "p-tb",     // toolbox portlet
  "http://toolserver.org/~dispenser/cgi-bin/webreflinks.py/" + wgPageName
   + "?client=script&citeweb=on&overwrite=&limit=20&lang=" + wgContentLanguage,
  "Reflinks"  // link label
)});