User:Daask/common.js: Difference between revisions

Content deleted Content added
 
(29 intermediate revisions by the same user not shown)
Line 1:
/// UNSORTED / UNTESTED
 
// [[User:Evad37/MoveToDraft]]
importScript( 'User:Evad37/MoveToDraft.js' ); // Backlink: [[User:Evad37/MoveToDraft.js]]
importScript( 'User:Bellezzasolo/Scripts/arb.js' ); // Backlink: [[User:Bellezzasolo/Scripts/arb.js]]
 
// For template editing
// [[User:Salix alba/TDSkell]]
importScript('User:HeadbombSalix alba/unreliableTDSkell.js'); // Backlink: [[User:HeadbombSalix alba/unreliableTDSkell.js]]
 
/// REFERENCES
 
// https://en.wikipedia.org/wiki/[[User:Ucucha/HarvErrors]]
importScript('User:Svick/HarvErrors.js'); // Backlink: [[User:Svick/HarvErrors.js]]
 
// [[Wikipedia:reFill]]
// https://en.wikipedia.org/wiki/User:Zhaofeng_Li/reFill
mw.loader.load( "https:'//meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks%3AZhaofeng_Li%2FReflinks.js&action=raw&ctype=text/javascript" '); // Backlink: [[User:Zhaofeng Li/Reflinks.js]]
 
// https://en.wikipedia.org/wiki/[[User:Salix_albaSalix alba/Citoid]]
importScript('User:Salix alba/Citoid.js'); // Backlink: [[User:Salix alba/Citoid.js]]
 
// [[User:Diegodlh/Web2Cit/script]] and [[meta:Web2Cit]]
mw.loader.load( '//en.wikipedia.org/w/index.php?title=User%3AWugapodes%2FCapricorn:Diegodlh/Web2Cit/script.js&action=raw&ctype=text/javascript' ); // Backlink: [[:en:User:WugapodesDiegodlh/Web2Cit/Capricornscript.js]]
 
/// EDITING
 
// [[WP:AutoEd]]
// [[User:Frietjes/findargdups]]
importScript('User:Frietjes/findargdups.js'); // Backlink: [[User:Frietjes/findargdups.js]]
importScript('Wikipedia:AutoEd/complete.js'); // Backlink: [[Wikipedia:AutoEd/complete.js]]
importScript('User:GregU/dashes.js'); // Backlink: [[User:GregU/dashes.js]]
importScript('User:Ohconfucius/script/MOSNUM dates.js'); // [[User:Ohconfucius/script/MOSNUM_datesMOSNUM dates]]
importScript('User:Ohconfucius/script/MOSNUM dates.js'); // Backlink: [[User:Ohconfucius/script/MOSNUM dates.js]]
 
// https://meta.wikimedia.org/wiki/User:TMg/autoFormatter
mw.loader.load( '//de.wikipedia.org/w/index.php?title=Benutzer:TMg/autoFormatter%3ATMg%2FautoFormatter.js&action=raw&ctype=text/javascript' );
// var autoFormatterButtonLabel = 'Auto-Format';
var autoFormatShortYearRanges = true;
Line 33 ⟶ 42:
];
 
// https://en.wikipedia.org/wiki/[[User:PC-XT/Advisor]]
importScript('User:PC-XT/Advisor.js'); // Backlink: [[User:PC-XT/Advisor.js]]
 
// https://en.wikipedia.org/wiki/[[User:Sondra.kinseyDaask/scripts/Some_MOSNUM_datesSome MOSNUM dates#FAQ]]
mosnum_keep_items = ['dmy-unitfixer', 'mdy-unitfixer'];
//importScript('User:Sondra.kinseyDaask/scripts/Some MOSNUM dates.js'); // Backlink: [[User:Daask/scripts/Some MOSNUM dates.js]]
 
// For editing redirect pages
// [[User:Wugapodes/Capricorn]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3AWugapodes%2FCapricorn.js&action=raw&ctype=text/javascript'); // [[User:Wugapodes/Capricorn.js]]
//importScript('User:DaaskWugapodes/sandbox/sagittariusCapricorn.js'); // Backlink: [[User:KephirWugapodes/gadgets/sagittariusCapricorn.js]]
// [[User:Kephir/gadgets/sagittarius]]
// For removing duplicate wikilinks
//importScript('User:UcuchaDaask/duplinkssandbox/sagittarius.js'); // Backlink: [[User:UcuchaDaask/duplinkssandbox/sagittarius.js]]
// For removing duplicate wikilinks: [[User:Ucucha/duplinks]]
 
importScript('User:BilityUcucha/copySectionLinkduplinks.js'); // Backlink: [[User:BilityUcucha/copySectionLinkduplinks.js]]
// [[User:Bility/copySectionLink]]
importScript('User:Bility/copySectionLink.js'); // Backlink: [[User:Bility/copySectionLink.js]]
 
window.hdedit_prefs = {
'eventToActivate': 'dblclick'
};
// [[User:The Evil IP address/hdedit]]
importScript( 'User:The Evil IP address/hdedit.js' ); // Backlink: [[User:The Evil IP address/hdedit.js]]
 
/// WATCHLIST
 
// [[User:Equazcion/ReverseMarked]]
importScript('User:Equazcion/ReverseMarked.js'); //Linkback Backlink: [[User:Equazcion/ReverseMarked.js]]
// https://en.wikipedia.org/wiki/[[User:Evad37/Watchlist-hideAWB]]
importScript( 'User:Evad37/Watchlist-hideAWB.js' ); // Backlink: [[User:Evad37/Watchlist-hideAWB.js]]
var awbHiddenByDefault = true;
 
// https://en.wikipedia.org/wiki/[[Wikipedia:User_scriptsUser scripts#Diffs]]
// https://en.wikipedia.org/wiki/[[User:Writ_KeeperWrit Keeper/Scripts/inlineDiffDocs]]
inspectText = "+";
showText = "+";
hideText = "-";
importScript("'User:Writ Keeper/Scripts/commonHistory.js"'); // Backlink: [[User:Writ Keeper/Scripts/commonHistory.js]]
 
 
/// WIKIPEDIA TOOLS
 
// [[User:Joeytje50/JWB]]
//http://sam.zoy.org/wikipedia/
importScript('User:Joeytje50/JWB.js/load.js'); // Backlink: [[User:Joeytje50/JWB.js/load.js]]
 
// http://sam.zoy.org/wikipedia/
// Pxma's version does stuff, but ultimately leads to an error page.
// importScript('User:Pxma/godmode-light.js'); // Backlink: [[User:Pxma/godmode-light.js]]
// These don't seem to add a button at all.
// importScript('User:Gracenotes/rollback.js'); // Backlink: [[User:Gracenotes/rollback.js]]
// importScript('User:Porchcorpter/rollback.js'); // Backlink: [[User:Porchcorpter/rollback.js]]
// importScript('User:Quarl/rollback.js'); // Backlink: [[User:Quarl/rollback.js]]
// importScript('User:Olliminatore/godmode-light.js'); // Backlink: [[User:Olliminatore/godmode-light.js]]
// mw.loader.load('http://sam.zoy.org/wikipedia/godmode-light.js');
 
importScript( 'User:PleaseStand/userinfo.js' ); // Backlink: [[User:PleaseStand/userinfo.js]]
// [[User:Equazcion/CatListMainTalkLinks]]
importScript('User:Equazcion/CatListMainTalkLinks.js'); //Linkback Backlink: [[User:Equazcion/CatListMainTalkLinks.js]]
// Duplicate functionality is provided by Twinkle
// [[User:Equazcion/SidebarHistoryTools]]
//importScript('User:Equazcion/SidebarHistoryTools.js'); //Linkback Backlink: [[User:Equazcion/SidebarHistoryTools.js]]
// [[User:Galobtter/Shortdesc helper]]
importScript('User:Galobtter/Shortdesc helper.js'); // Backlink: [[User:Galobtter/Shortdesc helper.js]]
// [[User:Equazcion/SandTab]]
importScript('User:Equazcion/SandTab.js'); //Linkback Backlink: [[User:Equazcion/SandTab.js]]
// [[User:Andy M. Wang/pageswap]]
importScript( 'User:Andy M. Wang/pageswap.js' ); // Backlink: [[User:Andy M. Wang/pageswap.js]]
importScript( 'User:EnterpriseyBot/delsort.js' ); // Backlink: [[User:EnterpriseyBot/delsort.js]]
 
// There are a number of tools for assessment
// https://en.wikipedia.org/wiki/[[User:Yuvipanda/AssessmentBar]]
// last updated 2012 https://en.wikipedia.org/w/index.php?title=User:YuviPanda/AssessmentBar.js&action=history
// https://en.wikipedia.org/wiki/[[User:Kaldari/assessmentHelper.js]]
// last updated 2017 https://en.wikipedia.org/w/index.php?title=User:Kaldari/assessmentHelper.js&action=history
importScript('User:Kaldari/assessmentHelper.js'); // Backlink: [[User:Kaldari/assessmentHelper.js]]
// https://en.wikipedia.org/wiki/[[User:Kephir/gadgets/rater]]
// I tried this one, and it didn't install/add the button properly. Might be an easy fix.
// last updated: 2015 https://en.wikipedia.org/w/index.php?title=User:Kephir/gadgets/rater.js&action=history
// but in use as of June 2017 at least, eg. [[Special:Diff/786464646]]
// importScript('User:Kephir/gadgets/rater.js'); // Backlink: [[User:Kephir/gadgets/rater.js]]
 
 
// [[User:Σ/Testing facility/Archiver]]
importScript( 'User:Σ/Testing facility/Archiver.js' ); // Backlink: [[User:Σ/Testing facility/Archiver.js]]
 
// See also https://en.wikipedia.org/wiki/[[Wikipedia:Tools/Navigation_shortcutsNavigation shortcuts]]
// See also https[[://de.wikipedia.org/wiki/:Benutzer:TMg/cleanDiff]]
 
$.when( mw.loader.using( 'mediawiki.util' ), $.ready ).then( function () {
// [[Help:My sandbox]]
// https://en.wikipedia.org/wiki/Help:My_sandbox
// [[Help:Customizing toolbars]]
// https://en.wikipedia.org/wiki/Help:Customizing_toolbars
// https://en.wikipedia.org/wiki/[[Wikipedia:User_scriptsUser scripts/Guide#Portlets_.28add_custom_menus_and_tabs.29Portlets (menus and tabs)]]
mw.util.addPortletLink(
'p-personal',
Line 134 ⟶ 156:
});
 
// [[User:Jivecat/userwatch.js]]
importScript( 'User:Daask/sandbox/userwatch.js' ); // Backlink: [[User:JivecatDaask/sandbox/userwatch.js]]
 
// Active after becoming an admin
// importScript('User:Ale_jrb/Scripts/csdhelper.js'); // [[User:Ale_jrbAle jrb/Scripts]]
// importScript('User:JackmcbarnAle jrb/Scripts/editProtectedHelpercsdhelper.js'); // LinkbackBacklink: [[User:JackmcbarnAle jrb/Scripts/editProtectedHelpercsdhelper.js]]
// importScript('User:Jackmcbarn/editProtectedHelper.js'); // Backlink: [[User:Jackmcbarn/editProtectedHelper.js]]
 
 
// [[Wikipedia:Correct_typos_in_one_click]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Uziel302/typo.js&action=raw&ctype=text/javascript');
 
// [[Wikipedia:RedWarn]]
importScript("'User:RedWarn/.js"'); // Backlink: [[User:RedWarn/.js]]
 
importScript('User:Headbomb/unreliable.js'); // Backlink: [[User:Headbomb/unreliable.js]]
// [[User:Mesidast/Tidy citations]]
importScript('User:Daask/Tidy citations.js'); // Backlink: [[User:Daask/Tidy citations.js]]
 
// [[User:BrandonXLF/ListSorter]]
importScript('User:BrandonXLF/ListSorter.js'); // Backlink: [[User:BrandonXLF/ListSorter.js]]
 
// [[User:BrandonXLF/ParameterSpacing]]
importScript('User:BrandonXLF/ParameterSpacing.js'); // Backlink: [[User:BrandonXLF/ParameterSpacing.js]]
 
// [[User:BrandonXLF/PortletLinks]]
importScript('User:BrandonXLF/PortletLinks.js'); // Backlink: [[User:BrandonXLF/PortletLinks.js]]
 
// [[User:BrandonXLF/ReferenceExpander]]
importScript('User:BrandonXLF/ReferenceExpander.js'); // Backlink: [[User:BrandonXLF/ReferenceExpander.js]]
 
// [[User:BrandonXLF/SubpageMover]]
importScript('User:BrandonXLF/SubpageMover.js'); // Backlink: [[User:BrandonXLF/SubpageMover.js]]
 
// [[User:BrandonXLF/CitationStyleMarker]]
importScript('User:BrandonXLF/CitationStyleMarker.js'); // Backlink: [[User:BrandonXLF/CitationStyleMarker.js]]
window.CSMarkerMode = 'both';
importScript('User:Qwertyytrewqqwerty/DisamAssist.js'); // Backlink: [[User:Qwertyytrewqqwerty/DisamAssist.js]]
importScript('User:BilledMammal/MovePlus.js'); // Backlink: [[User:BilledMammal/MovePlus.js]]
importScript('User:Andrybak/Scripts/Not_around.js'); // Backlink: [[User:Andrybak/Scripts/Not_around.js]]
importScript('User:Andrybak/Scripts/copy-section-link.js'); // Backlink: [[User:Andrybak/Scripts/copy-section-link.js]]
importScript('User:Daask/MultiResolver/en.wikipedia.js'); // Backlink: [[User:Daask/MultiResolver/en.wikipedia.js]]