Jump to content

User:Quiddity/common.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Quiddity (talk | contribs) at 01:07, 4 November 2015 (try at top...). 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.
/* User:Zhaofeng Li/Reflinks.js */
importScript( 'User:Zhaofeng Li/Reflinks.js' );// Backlink: [[User:Zhaofeng Li/Reflinks.js]]

// test https://wikitech.wikimedia.org/wiki/Nova_Resource:Catgraph/Deepcat
mw.loader.load( "//de.wikipedia.org/w/index.php?title=User:Christoph Fischer (WMDE)/Gadgets/DeepCat.js&action=raw&ctype=text/javascript" );
mw.loader.load( "//de.wikipedia.org/w/index.php?title=User:Christoph Fischer (WMDE)/Gadgets/DeepCat.css&action=raw&ctype=text/css" , "text/css" );

// Add links for Random Talkpages to toolbox
$(function () {
mw.util.addPortletLink('p-tb', mw.util.getUrl('Special:Random/Talk'), 'random talk', 'randomtalk');
mw.util.addPortletLink('p-tb', mw.util.getUrl('Special:RandomInCategory/Wikipedia featured articles'), 'random FA talk', 'randomFAtalk');
mw.util.addPortletLink('p-tb', mw.util.getUrl('Special:RandomInCategory/All Wikipedia vital articles'), 'random Vital talk', 'randomVtalk');
mw.util.addPortletLink('p-tb', mw.util.getUrl('Special:RandomInCategory/Wikipedia In the news articles'), 'random ItN talk', 'randomItalk');
mw.util.addPortletLink('p-tb', mw.util.getUrl('Special:RandomInCategory/Wikipedia pages under discretionary sanctions'), 'random Sanc. talk', 'randomStalk');
mw.util.addPortletLink('p-tb', mw.util.getUrl('Special:RandomInCategory/Wikipedia controversial topics'), 'random Contr. talk', 'randomCtalk');
});

// [[User:TheDJ/ActualLivePreview.js]]
// mw.loader.load('//en.wikipedia.org/w/index.php?title=User:TheDJ/ActualLivePreview.js&action=raw&ctype=text/javascript');