Jump to content

User:Insertcleverphrasehere/NPRtools.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* A collection of essential scripts for New Page Patrol */

/***************************************************************************************************
 MoveToDraft
 -------------
 Version 2.2.2-sandbox
 -------------
 A script to move unsourced articles to draft space, including cleanup and author notification.
 - Moves page to draftspace
 - Checks if any files used are non-free
 - Checks if any redirects pointed to the page
 - Comments out non-free files, turn categories into links, add afc draft template, add redirects
 - Adds notification message on author talk page
 - Updates talk page banners
 - Logs draftification in user subpage
***************************************************************************************************/
importScript('User:User:Evad37/MoveToDraft.js'); //Linkback: [[User:Evad37/MoveToDraft.js]]

/** Quickly fills out Template:Copyvio-revdel, using the history page's built-in radio buttons. **/
importScript('User:Enterprisey/cv-revdel.js'); //Linkback: [[User:Enterprisey/cv-revdel.js]]

/** Adds links next to the page title whenever the page was previously deleted to the AfD or deletion logs **/
importScript('User:Writ Keeper/Scripts/deletionFinder.js'); //Linkback: [[User:Writ Keeper/Scripts/deletionFinder.js]]

/***************************************************************************************************
 Rater --- by Evad37
 > Helps assess and add WikiProject banners to article talk pages.
 > Beta version
***************************************************************************************************/
importScript('User:Evad37/rater.js'); //Linkback: [[User:Evad37/rater.js]]

/** 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 **/
importScript('User:Insertcleverphrasehere/copyvios.js'); //Linkback: [[User:Insertcleverphrasehere/copyvios.js]]

/***************************************************************************************************
Superlinks is a Wikipedia user script designed to allow powerusers to quickly view pages and information 
related to the page they are currently viewing or editing without the need to navigate away from the page 
or open large numbers of new tabs.

The script consists of a collection of links at the top right corner of the page, and a popup window that 
opens over part of the current page when one of the links is clicked. The popup window loads its content 
on demand via Ajax without affecting the current page, and can be closed by clicking on the close button, 
clicking again on the link that opened the popup, or by pressing escape.
importScript('User:Bradv/Scripts/Superlinks.js'); //Linkback: [[User:Bradv/Scripts/Superlinks.js]]
***************************************************************************************************/
importScript('User:Bradv/Scripts/Superlinks.js'); //Linkback: [[User:Bradv/Scripts/Superlinks.js]]

/** Adds a 'Page Curation' link in the top right next to 'Preferences' to Special:NewPagesFeed **/
importScript('User:Lourdes/PageCuration.js'); //Linkback: [[User:Lourdes/PageCuration.js]]