User:Ahecht/Scripts/CVD

{{Infobox user script

| name = Ahecht/Scripts/CVD

| desc =

| author = Technical 13

| status = Stable

| mainsource = User:Ahecht/Scripts/CVD.js

| beta =

| skins = Vector

| browsers =

| logo =

| screenshot =

| screenshot-caption =

| styled =

}}

{{script data | page = User:Ahecht/Scripts/CVD.js }}

Script based on User:Technical_13/Scripts/CVD.js, with some bugfixes and performance optimizations.

Install by adding the following to your your common.js or your global.js page:

mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Ahecht/Scripts/CVD.js&action=raw&ctype=text/javascript' ); //User:Ahecht/Scripts/CVD.js

This will introduce a new link in the sidebar on the left that reads "CVDetector". Clicking it will open a new tab with the report from Earwig's Copyvio Detector.

By default, the tool only uses Earwig's Copyvio detector. To enable Dcoetzee's Dupe Detector, add var dupdet = true; to the top of your common.js or global.js page, but see {{plainlink|1=https://en.wikipedia.org/w/index.php?title=User_talk:Dcoetzee&direction=prev&oldid=636508916#Dupe_Detector_OK?|2=User talk:Dcoetzee#Dupe Detector OK?}} first. To disable Earwig's Copyvio detector, add var copyvios = false; to the top of your common.js or global.js page. To enable debugging to the javascript console, add var cvdebug = true; to the top of your common.js of global.js page.