User:Sajidmahamud835/my.js
Appearance
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* ====== Definition of import script ====== */
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);
});
};
/* ====== Installing all the below scripts ====== */
// mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Equazcion/ScriptInstaller.js&action=raw&ctype=text/javascript' );// Backlink: [[User:Equazcion/ScriptInstaller.js]]
/* ====== Toolbar ====== */
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Zhaofeng Li/Reflinks.js&action=raw&ctype=text/javascript' ); // [[User:Zhaofeng Li/Reflinks.js]] replacement to [[WP:REFLINKS]]
// mw.loader.load('//en.wikipedia.org/w/index.php?title=ser:Ohconfucius/script/Sources.js&action=raw&ctype=text/javascript' );// Backlink: [[User:Ohconfucius/script/Sources.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Frietjes/findargdups.js&action=raw&ctype=text/javascript'); // [[User:Frietjes/findargdups]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Ohconfucius/script/MOSNUM dates.js&action=raw&ctype=text/javascript');// Backlink: [[User:Ohconfucius/script/MOSNUM dates.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Ohconfucius/script/flagcruft.js&action=raw&ctype=text/javascript' );// Backlink: [[User:Ohconfucius/script/flagcruft.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Ohconfucius/script/formatgeneral.js&action=raw&ctype=text/javascript' );// Backlink: [[User:Ohconfucius/script/formatgeneral.js]]
// mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Epicgenius/commonshelperlink.js&action=raw&ctype=text/javascript' ); // Linkback: [[User:Epicgenius/commonshelperlink.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Meteor sandwich yum/Tidy_citations.js&action=raw&ctype=text/javascript'); // Linkback: [[User:Meteor sandwich yum/Tidy citations.js]]
// mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Epicgenius/sidebar_stuff.js&action=raw&ctype=text/javascript'); // Linkback: [[User:Epicgenius/sidebar stuff.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Evad37/duplinks-alt.js&action=raw&ctype=text/javascript'); // Backlink: [[User:Evad37/duplinks-alt.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Meteor sandwich yum/dabfinder.js&action=raw&ctype=text/javascript'); // [[User:Meteor sandwich yum/dabfinder.js]]
/* ====== Talk pages ====== */
// mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Technical_13/Scripts/OneClickArchiver.js&action=raw&ctype=text/javascript' );// Backlink: [[User:Technical_13/Scripts/OneClickArchiver.js]]
/* ====== History pages ====== */
/* ===== Not rollback ==== */
// mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Writ Keeper/Scripts/oldSchoolThanks.js&action=raw&ctype=text/javascript'); // [[User:Writ Keeper/Scripts/oldSchoolThanks.js]]
// mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Equazcion/LiveDiffLink.js&action=raw&ctype=text/javascript'); // [[User:Equazcion/LiveDiffLink.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Markhurd/hidetopcontrib.js&action=raw&ctype=text/javascript'); // [[User:Markhurd/hidetopcontrib.js]]
/* ===== Rollback ==== */
// mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Porchcorpter/rollback.js&action=raw&ctype=text/javascript'); // [[User:Porchcorpter/rollback.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Hoo_man/smart_rollback.js&action=raw&ctype=text/javascript'); // [[:Meta:User:Hoo_man/smart_rollback.js]]
// mw.loader.load('//en.wikipedia.org/w/index.php?title=User:MusikAnimal/confirmationRollback-mobile.js&action=raw&ctype=text/javascript'); // [[User:MusikAnimal/confirmationRollback-mobile.js]]
/* ====== Special pages ====== */
// nothing yet
/* ====== User info ====== */
mw.loader.load('//ru.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript'); // [[User:NuclearWarfare/Mark-blocked script.js]] // also see [[User:Epicgenius/mark-blocked.js]]
/* ====== Displays ====== */
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Shubinator/DYKcheck.js&action=raw&ctype=text/javascript'); // [[User:Shubinator/DYKcheck.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Anomie/previewtemplatelastmod.js&action=raw&ctype=text/javascript'); // [[User:Anomie/previewtemplatelastmod.js]]
/* ====== Load scripts ====== */
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Epicgenius/AWB_script_toolbar.js&action=raw&ctype=text/javascript' ); // see also [[User:Joeytje50/AWB.js/load.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Huji/Gadget-intropreload.js&action=raw&ctype=text/javascript'); // [[User:Huji/Gadget-intropreload.js]]
/* ====== Stylistic changes ====== */
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:GregU/dashes.js&action=raw&ctype=text/javascript'); // [[User:GregU/dashes.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=Wikipedia:AutoEd/complete.js&action=raw&ctype=text/javascript'); // [[Wikipedia:AutoEd/complete.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:The Evil IP address/hdedit.js&action=raw&ctype=text/javascript' );// Backlink: [[User:The Evil IP address/hdedit.js]]
/* ====== Images ====== */
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Equazcion/SkipFileWizard.js&action=raw&ctype=text/javascript'); // [[User:Equazcion/SkipFileWizard.js]]
/* ====== Templates ====== */
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:APerson/sync-template-sandbox.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:APerson/sync-template-sandbox.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Equazcion/UniversalTransclusionPreviews.js&action=raw&ctype=text/javascript'); // [[User:Equazcion/UniversalTransclusionPreviews]]
/* ====== Watchlist ====== */
// nothing yet
/* ====== Other maintenance ====== */
// mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Fox Wilson/delsort.js&action=raw&ctype=text/javascript'); // Deletion sorting script [[WP:FWDS]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Epicgenius/DisamAssist-mod.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Qwertyytrewqqwerty/DisamAssist.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:קיפודנחש/cat-a-lot.js&action=raw&ctype=text/javascript' );// Backlink: [[User:קיפודנחש/cat-a-lot.js]]
// mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Kephir/gadgets/rater.js&action=raw&ctype=text/javascript'); // Backlink: [[User:Kephir/gadgets/rater.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Ucucha/HarvErrors.js&action=raw&ctype=text/javascript'); // Backlink: [[User:Ucucha/HarvErrors.js]]
// mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Cameltrader/Advisor.js&action=raw&ctype=text/javascript'); // Backlink: [[User:Cameltrader/Advisor.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:ערן/autocomplete.js&action=raw&ctype=text/javascript' );// Backlink: [[User:ערן/autocomplete.js]]
// mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Andy_M._Wang/pageswap.js&action=raw&ctype=text/javascript'); // [[User:Andy_M._Wang/pageswap.js]]
/* ====== Popups, HotCat, other gadget prefs ====== */
window.popupFixDabs = true; // see [[WP:POPUPS]]
window.popupFixRedirs = true;
window.popupMaxPreviewSentences = 6;
window.popupMaxPreviewCharacters = 700;
window.hotcat_use_category_links = true; // see [[WP:HC]]
DisableAutoCropEverywhere = true; // see [[User:Codehydro/Auto CSS image crop]]
/* == Script installer == */
mw.loader.load("//en.wikipedia.org/w/index.php?title=MediaWiki:Wdsearch.js&action=raw&ctype=text/javascript");