Jump to content

User:Dainomite/common.js: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
No edit summary
Line 1: Line 1:
importScript('MediaWiki:Gadget-HotCat.js');
importScript("User:Ocaasi/WikiLoveinstallscript.js");
importScript('User:Fox Wilson/delsort.js'); // Deletion sorting script [[WP:FWDS]]

// Add [[WP:Reflinks]] launcher in the toolbox on left
// Add [[WP:Reflinks]] launcher in the toolbox on left
addOnloadHook(function () {
addOnloadHook(function () {

Revision as of 22:00, 30 September 2013

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