User:Insertcleverphrasehere/copyvios.js

In this article, we will explore the fascinating world of User:Insertcleverphrasehere/copyvios.js, a topic that has captured the attention of individuals and experts alike. From its beginnings to its current state, User:Insertcleverphrasehere/copyvios.js has been the object of study, debate and admiration. Over the years, it has aroused different opinions and emotions, generating endless research and discoveries. Through this article, we will delve into the most relevant aspects of User:Insertcleverphrasehere/copyvios.js, offering a detailed and complete vision that allows our readers to better understand this fascinating topic.
/* Adds a link in 'more' to do a copyvio check on the given page. Copy of User:The Earwig/copyvios.js, 
but with a different link location (in the same place as other NPP scripts), and opens in a new tab rather than the current window */

mw.loader.using("mediawiki.util", function() {
    mw.util.addPortletLink(
        "p-cactions",
        "https://tools.wmflabs.org/copyvios/?lang=" + mw.config.get("wgContentLanguage") + "&project=" + mw.config.get("wgSiteName").toLowerCase() + "&title=" + encodeURIComponent(mw.config.get("wgPageName")),
        "Copyvio check",
        "t-copyvio-check",
        "Check this page for copyright violations"
    );
});
$("#t-copyvio-check > a").attr("target", "_blank");