Jump to content

User:Oshwah/common.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.
//*** Interface enhancements ***

importScript('User:Amorymeltzer/crathighlighter.js');
window.highlight_order = ['arbcom', 'bureaucrat', 'sysop'];//Variable listing user permissions to order by (crathighlighter.js)

importScript('User:Enterprisey/link-deleted-revs.js'); //Adds link to diffs that have been deleted so that you can view them.
importScript('User:Hoo man/instantNewPagePatrol.js'); //shows one-click "patrol" links directly on Special:NewPages to mark pages as patrolled.
importScript('User:Headbomb/unreliable.js'); // Highlights external URLs in pages that are known to be unreliable or blacklisted.
//importScript('User:MusikAnimal/nightpedia.js'); //NIGHT MODE SCRIPT
importScript('User:Enterprisey/search-links.js'); //Adds an (edit) link next to search result suggestions.
importScript('User:Enterprisey/strike-archived.js'); //Strikes out discussions in the table of content that have been closed with ATOP or similar closing templates.
importScript('User:Oshwah/Restorer.js'); //Adds restore link in page history for one-click restoring.
importScript('User:BrandonXLF/GlobalPrefs.js'); //Adds a link to global preferences on top bar.
importScript('User:BrandonXLF/MoreDiffInfo.js'); //Adds diff ID, size, and ORES score to diff pages.
importScript('User:BrandonXLF/UpdateNotifications.js'); //Makes AJAX request and updates your alerts and notifications badge every few seconds instead of only on page load.
importScript('User:Mr.Z-man/autopatrol.js'); //Adds a [Patrol] link to [[Special:Newpages]] for quicker patrolling.
//importScript('User:Writ Keeper/Scripts/commonHistory.js'); //Diff expander script
importScript('User:Oshwah/ExpandDiffs.js'); //Diff expander fork
importScript('User:Aveaoz/AutoMobileRedirect.js') //Redirects all mobile Wikipedia URLs to the desktop version.
//importScript('User:BrandonXLF/UpdateNotifications.js'); //Updates notifications and alerts every few seconds instead of just on page load.


//*** Admin scripts ***

importScript('User:Writ Keeper/Scripts/massRollback.js'); //Mass rollback button
importScript('User:Timotheus Canens/massedit.js'); //Mass edit script
importScript('User:Timotheus Canens/massprotect.js'); //Mass protect script
importScript('User:Timotheus Canens/massrestore.js'); //Mass undelete script
importScript('User:Timotheus Canens/massblock.js'); //Mass block script
importScript('User:Timotheus Canens/massunblock.js'); //Mass unblock script
importScript('User:MusikAnimal/userRightsManager.js'); //User rights management script for WP:PERM
importScript('User:Oshwah/NavLinksCustom.js'); //Custom navigation link shortcuts (left side) script
//importScript('User:MusikAnimal/responseHelper.js'); //Noticeboard response helper script for AIV, UAA, RFPP, AN3, and some PERM noticeboards
importScript('User:Oshwah/ResponseHelper.js'); //ResponseHelper fork
importScript('User:Evad37/FFDcloser.js'); //WP:FFD closer helper script
importScript('User:Ale_jrb/Scripts/csdhelper.js'); //CSD helper script
importScript('User:Andy M. Wang/pageswap.js'); //Page swap helper script
importScript('User:Enterprisey/unblock-review.js'); //Unblock reviewer script
importScript('User:Bellezzasolo/Scripts/arb.js'); //ArbCom discretionary sanctions notifier script (adds this function to Twinkle)


//*** CU and SPI helper scripts ***

importScript('User:L235/culoghelper-personaltesting.js'); //Makes timestamp in each checkuser log entry clickable so that you can drill down to that date range for context.
importScript('User:Oshwah/CU-Log-Links.js'); //Adds WHOIS, Proxy, and links to IP checks in CU log.
importScript('User:Oshwah/History-Log-Links.js'); //Adds WHOIS, Proxy, and CU links to users listed in contributions, history, and log pages.
importScript('User:Oshwah/Undelete-Log-Links.js'); //Adds WHOIS, Proxy, and CU links to users listed in Special:Undelete pages.
importScript('User:Oshwah/AbuseFilter-Log-Links.js'); //Adds WHOIS, Proxy, and CU links to users in AbuseFilter log pages.
importScript( 'User:GeneralNotability/spihelper.js' ); //SPI helper script FORK
importScript('User:Writ Keeper/Scripts/cuStaleness.js'); //CU STALE script
importScript('User:Writ Keeper/Scripts/sockStaleness.js'); //SOCK STALE script
importScript('User:Firefly/checkuseragenthelper.js'); //Adds tooltips to user agents in order to explain them.
importScript('User:GeneralNotability/cumarkips.js'); //Marks any sensitive IPs (Congress, US House of Representatives, White House, etc).
importScript('User:GeneralNotability/InvestorGoat.js'); //Marks matching user agents.
importScript('User:RoySmith/tag-check.js'); //Adds a visual indication of sock tag status to SPI reports.


//*** EFM helper scripts ***

importScript('User:Suffusion_of_Yellow/filterDiff.js'); //Adds a "Show changes" button to Special:AbuseFilter pages. It also warns about edit conflicts.
importScript('User:Suffusion of Yellow/batchtest-plus.js'); //Adds an option to the abuse filter testing interface to check a pattern against old hits from any filter. See [[User:Suffusion of Yellow/batchtest-plus]].
importScript('User:Suffusion_of_Yellow/effp-helper.js'); //Makes it easier to respond to false positives from the edit filter.


//*** Blocking ***

importScript('User:Oshwah/QuickBlockScript.js'); //QuickBlock Script - 2.0


//*** Script Manager ***

importScript('User:Writ_Keeper/Scripts/massRevdel.js');
//importScript('User:MusikAnimal/scriptManager.js'); //Script manager .js import
//scriptsToManage = {//variable listing scripts to manage (scriptManager.js)
//  "MASS REVDEL" : "//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Writ_Keeper/Scripts/massRevdel.js",
//}


syntaxHighlighterConfig = {//Syntax Highlighter gadget settings override
    timeout: 15,
}


//*** TESTING ***

importScript('User:Oshwah/sandbox.js'); //SANDBOX TESTING SCRIPT