Jump to content

User:Matthewedwards/scripts.js

From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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.
 // 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('&section=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