User:Scottyoak2/common.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
![]() | The accompanying .css page for this skin is at User:Scottyoak2/common.css. |
/* February 7, 2022 Purged this file; starting anew */
/* February 9, 2022 Load reFill */
/* User:Zhaofeng Li/reFill */
/* https://tools.wmflabs.org/refill/ */
mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );
// February 17, 2022 This script aligns dates into one of two formats allowed by [[WP:MOSNUM]].
// See [[User:Ohconfucius/script/MOSNUM dates]]
importScript('User:Ohconfucius/script/MOSNUM dates.js');
// February 17, 2022 [[User:SD0001/shortdescs-in-category.js]]
importScript('User:SD0001/shortdescs-in-category.js');
// March 4, 2022 [[User:IceWelder/citationstyle.js]]
mw.loader.load( '/w/index.php?title=User:IceWelder/citationstyle.js&action=raw&ctype=text/javascript' );
// 22 June 2022 [[User:Evad37/MoveToDraft.js]]
/***************************************************************************************************
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
***************************************************************************************************/
// mw.loader.load( '/w/index.php?title=User:Evad37/MoveToDraft.js&action=raw&ctype=text/javascript' );
// 23 June 2022 [[User:Mr. Stradivarius/gadgets/Draftify.js]]
importScript('User:Mr. Stradivarius/gadgets/Draftify.js');
// 12 July 2022 [[User:Evad37/rater]]
mw.loader.load( '/w/index.php?title=User:Evad37/rater.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Evad37/rater.js]]
// 12 July 2022 [[Wikipedia:AutoEd]]
importScript('Wikipedia:AutoEd/complete.js');
// 30 January 2023 [[User:MPGuy2824/MoveToDraft.js]]
/***************************************************************************************************
MoveToDraft
-------------
Version 2.5.6
-------------
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
derived from https://en.wikipedia.org/wiki/User:Evad37/MoveToDraft.js
***************************************************************************************************/
importScript( 'User:MPGuy2824/MoveToDraft.js' ); // Backlink: [[User:MPGuy2824/MoveToDraft.js]]
// April 8, 2023 [[User:Nardog/RefRenamer]]
/***************************************************************************************************
RefRenamer
This is a script for replacing numeric values like ":0", ":1" and so on in the name attribute of <ref> tags,
which are produced by VisualEditor, with something more descriptive like "Smith-2015". Installing it adds
the link "RefRenamer" to the Tools section of the sidebar on pages related to existing wikipages, which
opens a dialog. If it's opened while editing, the source in the edit box will be parsed (slower); otherwise
the latest version of the page will be analyzed.
***************************************************************************************************/
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Nardog/RefRenamer.js&action=raw&ctype=text/javascript');
// February 11, 2024 [[Wikipedia:Teahouse/Host_lounge/User_scripts#Available_user_scripts]]
/**************************************************************************************************/
importScript("User:Writ Keeper/Scripts/teahouseUtility.js"); // Gives one-click option to add Teahouse invitation or talkback to a user
importScript("User:Writ Keeper/Scripts/teahouseTalkback.js"); // Adds Talkback reminder when you save an edit at the Teahouse
importScript("User:Writ Keeper/Scripts/teahouseTalkbackLink.js"); // Adds a talkback link to signatures on the Teahouse
// June 30, 2024 this script will remove editing from every redlink
importScript("User:Awesome Aasim/noeditredlinks.js");