User:Haxpett/common.js

//Integrerad watchlist importScript ("User:Yair rand/interwikiwatchlist.js"); var LocalFileLinksLang = true; // d:User:Yair rand/WikidataInfo.js mw.loader.load("//www.wikidata.org/w/index.php?title=User:Yair rand/WikidataInfo.js&action=raw&ctype=text/javascript"); //OpenStreetMap i Wikipediaartikeln mw.loader.load("//sv.wikipedia.org/w/index.php?title=Användare:André_Costa_(WMSE)/openStreetMapToggle.js&action=raw&ctype=text/javascript"); //Wiki view stats function viewstats { if (mw.config.get('wgCanonicalNamespace') == "Special") return; mw.util.addPortletLink('p-cactions', 'https://tools.wmflabs.org/wikiviewstats/index.php?lang=sv&project=&page=' + mw.config.get('wgPageName'), "viewstats", "ca-viewstats", "Se statistik på Wiki view stats"); } addOnloadHook(viewstats);