User:Begoon/vector.js

//Wrapper for future deprecation of importScript window.importScript = function (pageName) { mw.loader.using('mediawiki.util').then(function { var conf = mw.config.get(['wgServer', 'wgScript']), url = conf.wgServer + conf.wgScript + '?title=' + mw.util.wikiUrlencode(pageName) + '&action=raw&ctype=text/javascript'; mw.loader.load(url); }); };

//Add some extra links to Vector interface importScript('User:Begoon/addVectorLinks.js');

//Orange Bar importScript('User:Writ Keeper/Scripts/orangeBar.js'); // Linkback: User:Writ Keeper/Scripts/orangeBar.js

//Delsort importScript('User:Fox Wilson/delsort.js'); // Deletion sorting script WP:FWDS // Linkback: User:Fox Wilson/delsort.js

//Readable prose importScript('User:Dr_pda/prosesize.js'); // adds a Page size link to the toolbox // Linkback: User:Dr_pda/prosesize.js

//Thanks button //importScript('User:Writ Keeper/Scripts/oldSchoolThanks.js'); // Linkback: User:Writ Keeper/Scripts/oldSchoolThanks.js

// Add custom Character Inserter entries, to the end of the first 2 groupings window.charinsertCustom = { "Insert": ' Wl: + Strike: + Ping: {\{u|+}} Tq: {\{tq|1="+"}} Cd:  Wl: + Ret: {\{retouched|+}} Gl: {\{GL_workshop}} Sh: \  Wl: + Ret: {\{retouched|+}} Gl: {\{GL_workshop}} Sh: \+\ Us:' };

//Signature reminder //Author:User:Dispenser //permalink: $(document).ready(function { $("#wpSave").one("click", function { /* change to wpPreview for testing */ $("#editform").on("submit", function { return !(this.wpTextbox1.value.indexOf(""+"")===-1 && ( mw.config.get('wgNamespaceNumber')%2===1 || $.inArray("Non-talk pages that are automatically signed", mw.config.get('wgCategory'))!==-1) && !confirm("No signature, save anyway?")); }); }); });

//Thumbnail purge link importScript('User:Begoon/purgeThumbnail.js'); // Linkback: User:Begoon/purgeThumbnail.js

//Archiver importScript('User:Σ/Testing facility/Archiver.js'); // Linkback: User:Σ/Testing facility/Archiver.js

//Text diff importScript('User:Evad37/TextDiff.js'); // Linkback: User:Evad37/TextDiff

//editProtectedHelper importScript('User:Jackmcbarn/editProtectedHelper.js'); // Linkback: User:Jackmcbarn/editProtectedHelper.js

//copyvio check importScript('User:The Earwig/copyvios.js'); // Linkback: User:The Earwig/copyvios.js

//copyvio-revdel importScript('User:Enterprisey/cv-revdel.js'); // Linkback: User:Enterprisey/cv-revdel.js

//EOF//