User:Klortho/common.js

Source: Wikipedia, the free encyclopedia.
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.
//-----------------------------------------------------------------------
// Enable MathJax.  See http://en.wikipedia.org/wiki/User:Nageh/mathJax

//mathJax={}; 
//mathJax.fontDir="http://cdn.mathjax.org/mathjax/latest/fonts";
//importScript('User:Nageh/mathJax.js');

//-----------------------------------------------------------------------
// Watchlist enhancements
// [[user:js/watchlist]]

if (wgCanonicalSpecialPageName == 'Watchlist') 
  importScript('user:js/watchlist.js');
var unwatchLinksOnLoad = true; //add (x) links on page load


//-----------------------------------------------------------------------
// Wikidata content card
// What it does:
// It displays an icon next to the article title
// When you hover your mouse over the icon it shows a content card.
// The content card displays information from Wikidata: label, image, link 
// to Commons gallery, and link to edit Wikidata.
// What it is supposed to do in the future when Wikidata supports sister projects:
// It will display contents or links to sister projects
// Please leave your feedback on the Request for comments, thanks!
// http://meta.wikimedia.org/wiki/Requests_for_comment/Interproject_links_interface#Comments

mw.loader.load('//www.wikidata.org/w/index.php?title=User:Tpt/interproject.js&action=raw&ctype=text/javascript');
importScript("User:Phette23/Scripts/FindDPLA.js");