Jump to content

User:Bunnypranav/common.js

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Bunnypranav (talk | contribs) at 07:42, 9 March 2025. The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
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.
//Local Sandbox
mw.loader.load("http://127.0.0.1/sandbox.js");

//JS configurations
window.userHighlighterSimpleNoColors = true;
window.afcrcConfiguration = { createdPageWatchMethod: "unwatch" };
mw.hook("moremenu.ready").add(function (config) {
  var username = mw.config.get("wgTitle");
  var encodedUsername = encodeURIComponent(username);
  var url = "https://restrictionscan.toolforge.org/?search=" + encodedUsername;

  MoreMenu.addLink("user", "Editing restrictions", url);
});

//NPP
importScript("User:Sohom Datta/PageTriageUserspaceLogger.js"); // [[User:Sohom Datta/PageTriageUserspaceLogger.js]]
importScript("User:Schminnte/PageCuration.js"); // Linkback: [[User:Schminnte/PageCuration.js]]
importScript("User:Epicgenius/ArticleQuality.js"); // Backlink: [[User:User:Epicgenius/ArticleQuality.js]]
importScript("User:Novem Linguae/Scripts/NPPLinks.js"); // Backlink: [[User:Novem Linguae/Scripts/NPPLinks]]
importScript("User:Novem Linguae/Scripts/CiteHighlighter.js"); // Backlink: [[User:Novem Linguae/Scripts/CiteHighlighter]]
importScript("User:The Earwig/copyvios.js"); // Backlink: [[User:The Earwig/copyvios.js]]
importScript("User:Evad37/rater.js"); // Backlink: [[User:Evad37/rater.js]]
importScript("User:Awesome Aasim/xfdvote.js"); // Backlink: [[User:Awesome Aasim/xfdvote.js]]

//Moves related
var pagemoveWatchlistDefaultExpiry = "1 week";
importScript("User:Ahecht/Scripts/pageswap.js"); // Backlink: [[User:Ahecht/Scripts/pageswap.js]]
importScript("User:Nardog/MoveHistory.js"); // Backlink: [[User:Nardog/MoveHistory.js]]
importScript("User:MPGuy2824/MoveToDraft.js"); // Backlink: [[User:MPGuy2824/MoveToDraft.js]]
importScript("User:Eejit43/scripts/rmtr-helper.js"); // Backlink: [[User:Eejit43/scripts/rmtr-helper.js]]
importScript("User:BilledMammal/MovePlus.js"); // Backlink: [[User:BilledMammal/MovePlus.js]]

//UI and decoration
importScript("User:Novem_Linguae/Scripts/UserHighlighterSimple.js"); // Backlink: [[User:Novem_Linguae/Scripts/UserHighlighterSimple.js]]

//Vandal fighting
importScript("User:Enterprisey/cv-revdel.js"); // Backlink: [[User:Enterprisey/cv-revdel.js]]
importScript("User:RedWarn/.js"); // Backlink: [[User:RedWarn/.js]]

//General robotic editing assistance
importScript("User:Eejit43/scripts/afcrc-helper.js"); // Backlink: [[User:Eejit43/scripts/afcrc-helper.js]]
importScript('User:Theleekycauldron/DYK promoter.js'); // Backlink: [[User:Theleekycauldron/DYK promoter.js]]