User:Sanskari/CopyVio.js

//thanks to https://zh.wikipedia.org/wiki/User:Liangent mw.loader.using("mediawiki.util", function {   mw.util.addPortletLink( "p-cactions", "https://tools.wmflabs.org/copyvios/?lang=en&project=wikipedia&title=" + encodeURIComponent(mw.config.get("wgPageName")), "CopyVio [C]" );       mw.util.addPortletLink( "p-cactions", "https://www.google.com/search?q=" + encodeURIComponent(mw.config.get("wgPageName")), "Google [S]" ); });