User:Matthewedwards/scripts.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. |
![]() | Documentation for this user script can be added at User:Matthewedwards/scripts. |
// logs for this page
importScript('Wikipedia:WikiProject User scripts/Scripts/Logs link');
// Logs link in toolbox
if (wgCanonicalNamespace!='User' && wgCanonicalNamespace!='User talk')
importScript('Wikipedia:WikiProject User scripts/Scripts/Logs link');
// Logs link in toolbox
if (wgCanonicalNamespace!='User' && wgCanonicalNamespace!='User talk')
importScript('Wikipedia:WikiProject User scripts/Scripts/Logs link');
// Reformats compare button in history as a link
if (wgAction=='history')
importScript('MediaWiki:WikiProject User scripts/Scripts/Compare link.js');
// Performs basic formatting changes from a tab while editing
if (wgAction=='edit' || wgAction=='submit')
importScript('Wikipedia:WikiProject User scripts/Scripts/Formatter');
// Quick previewing button in editing toolbar
if (wgAction=='edit' || wgAction=='submit')
importScript('User:Alex Smotrov/qpreview.js');
// Gives assessment data for an article
if (wgCanonicalNamespace=='')
importScript('User:Outriggr/metadata.js');
// Improves formatting of history pages
if (wgAction=='history')
importScript('User:Alex_Smotrov/histcomb.js');
// Edit top link by [[User:Alex Smotrov]]
importScript('User:Alex_Smotrov/edittop.js');
if (wgAction=='edit' && document.URL.indexOf('§ion=0') != -1)
$(function(){
document.getElementById('wpSummary').value = "/* Intro */ ";
})
// Unwatch links next to page names in watchlist from [[User:Alex Smotrov/wlunwatch.js]]
if (wgCanonicalSpecialPageName && wgCanonicalSpecialPageName=='Watchlist' && wgAction=='view')
$(function () {
var frm = document.getElementsByTagName('form')[0];
frm.parentNode.insertBefore(document.createTextNode(' | '), frm);
var lnk = document.createElement('a');
lnk.appendChild(document.createTextNode('Unwatch…'));
lnk.href = 'javascript:importScript("User:Alex_Smotrov/wlunwatch.js")';
frm.parentNode.insertBefore(lnk, frm);
})
importScript('Wikipedia:WikiProject User scripts/Scripts/Add LI menu');
importStylesheet('Wikipedia:WikiProject User scripts/Scripts/Add LI menu/css');
importScript('User:S/tags.js');
autosubmit=false;
minoredit=true;
show_cwli=true;
// Box with newest pages in sidebar
importScript('User:TheJosh/Scripts/NewPagePatrol.js');
npp_enabled = false;
npp_num_pages = 10;
npp_refresh = 5;
// Box with recent changes in sidebar
importScript('User:TheJosh/Scripts/RecentChangesPatrol.js');
rcp_enabled = false;
rcp_num_pages = 10;
rcp_refresh = 5;
// Nice formatting for [[Special:Log]]
if (wgCanonicalSpecialPageName && wgCanonicalSpecialPageName=='Log')
importScript('User:Alex_Smotrov/logpage.js')
// [[User:Voice of All]]'s helper JavaScript
importScript('User:Voice of All/Addtabs/monobook.js');
// Some history-related script from VoA
importScript('User:Voice of All/History/monobook.js');
// [[User:Lupin/recent2.js]] anti-vandalism script
importScript('User:Lupin/recent2.js');
importScript('Wikipedia:WikiProject User scripts/Scripts/qSig');
importScript('User:ais523/editcount.js');
importScript('User:Ais523/watchlistnotifier.js');
importScript('User:AndyZ/peerreviewer.js');
importScript('User:AWeenieMan/furme.js'); // FurMe
importScript('User:Brighterorange/punctuation.js'); // Punctuation importScript('User:Cameltrader/Advisor.js')
importScript('User:Dispenser/Link checker/toolbox.js');
importScript('User:Dispenser/Link checker/json.js'); // Link Checker
importScript('User:Dr pda/articlehistory.js'); // Article History
importScript('User:Dr pda/editrefs.js'); // Edit References
importScript('User:Dr pda/prosesize.js'); // Prose Size
importScript('User:Dschwen/highlightredirects.js');
importScript('User:Gary King/access keys.js'); // Access Keys
importScript('User:Gary King/custom functions.js'); // Custom functions
importScript('User:Gary King/default summary.js'); // Default summary
importScript('User:Gary King/localize comments.js');
importScript('User:Gary King/user tabs.js'); // User Tabs
importScript('User:Gimmetrow/fixRefs.js'); // Fix References
importScript('User:Jsimlo/shortcuts-dev.js'); // Shortcuts
importScript('User:Lightmouse/monobook.js/script.js');
importScript('User:Lupin/recent2.js');
importScript('User:Matthew Edwards/shortcuts.js'); // customized sidebar links
importScript('User:Mr.Z-man/refbuttons.js');
importScript('User:Splarka/dabfinder.js');
importScript('User:TheDJ/qui.js');
importScript('User:TheJosh/Scripts/NewPagePatrol.js'); // New Page Patroller
importScript('User:Tra/sidebartranslate.js');
importScript('User:Tra/userwatchlist.js'); // User Watchlist importScript('User:Voice_of_All/Revert.js');
importScript('Wikipedia:WikiProject User scripts/Scripts/Six tabs'); // Adds extra edit/hist tabs for both discussion page and article page