User:Antanana/cv.js

// $(document).ready(function {   if (mw.config.get('wgNamespaceNumber') !== 0 || mw.config.get('wgAction') !== "view") return;    var articlename = mw.config.get( 'wgPageName' );

mw.util.addPortletLink('p-cactions',       'https://tools.wmflabs.org/copyvios/?lang=en&project=wikipedia&title=' +        encodeURIComponent(articlename) +        ' &oldid=&action=search&use_engine=1&use_links=1', "CopyVio", 'ca-copyvio', null); //       test }); //