User:JJPMaster/Scripts/CopyvioRedirect.js: Difference between revisions

Content deleted Content added
repurposing this script
fix
Line 1:
if(mw.config.get('wgPageName').toLowerCase().startsWith("copyviocopyvios:"))
window.___location.href = `https://copyvios.toolforge.org/?lang=en&project=wikipedia&title=${mw.config.get('wgPageName').replace("copyvios:", "")}&oldid=&action=search&use_engine=1&use_links=1&turnitin=0&noredirect=true`;
else if(mw.config.get('wgPageName').toLowerCase().startsWith("copypatrol:"))
window.___location.href = `https://copypatrol.wmcloud.org/en?filter=all&filterPage=${mw.config.get('wgPageName').replace("copypatrol:", "")}`;