Jump to content

User:Mike Christie/vector.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Mike Christie (talk | contribs) at 21:23, 18 April 2010 (Add Nominations viewr). 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.
function addLink(where, url, name, id, title, key, after) {
   // addLink() accepts either an id or a DOM node, addPortletLink() only takes a node
   if (after && !after.cloneNode)
       after = document.getElementById(after);
 
   return addPortletLink(where, url, name, id, title, key, after);
}
//Interiot's javascript edit counter
if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) {
  document.write('<script type="text/javascript" src="' 
    + 'http://en.wikipedia.org/w/index.php?title=User:Interiot/Tool2/code.js' 
    + '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); }
 
// [[User:Lupin/popups.js]]
 document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
// Comment out Omegatron for now
// importScript('User:Omegatron/monobook.js/addlink.js'); //[[User:Omegatron/monobook.js/addlink.js]]
importScript('User:Dr_pda/prosesize.js'); //[[User:Dr_pda/prosesize.js]]
importScript('User:Dr_pda/editrefs.js'); //[[User:Dr_pda/editrefs.js]]

importScript('User:Gary King/nominations viewer.js'); // [[Wikipedia:Nominations Viewer]]