User:Klortho/common.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
![]() | The accompanying .css page for this skin is at User:Klortho/common.css. |
//-----------------------------------------------------------------------
// 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");