User:Begoon/vector.js

//Wrapper for future deprecation of importScript window.importScript = function (pageName) { mw.loader.using('mediawiki.util').then(function () { var co…

//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: <s>+</s> Ping: {\{u|+}} Tq: {\{tq|1="+"}} Cd: <code>+</code> Wl(:): [[:+]] Ret: {\{retouched|+}} Gl: {\{GL_workshop}} Sh: \<syntaxhighlight.lang="javascript"\>+\</syntaxhighlight\> Us:',
 "Wiki markup": ' Wl: [[+]] Strike: <s>+</s> Ping: {\{u|+}} Tq: {\{tq|1="+"}} Cd: <code>+</code> Wl(:): [[:+]] Ret: {\{retouched|+}} Gl: {\{GL_workshop}} Sh: \<syntaxhighlight.lang="javascript"\>+\</syntaxhighlight\> Us:'
};

//Signature reminder
//Author:[[User:Dispenser]]
//permalink: [https://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)/Archive_136&oldid=695363568#Auto_sig_ability]
$(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//

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.