Jump to content

User:Ansumang/common.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Ansumang (talk | contribs) at 10:23, 18 May 2012. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
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.
//List usergroups on User:USERNAME or User talk:USERNAME
importScript('User:Splarka/sysopdectector.js');

// User Identifier - Adds a little button to the username when viewing the userpage, showing edit count, groups, registering date
importScript('User:Anomie/useridentifier.js');

importScript('User:Ohconfucius/script/Common Terms.js');  //[[User:Ohconfucius/script/Common Terms.js]]
//importScript('User:Tim Song/afchelper4.js');
importScript('User:Anomie/util.js');
importScript('User:Anomie/linkclassifier.js'); // Linkback: [[User:Anomie/linkclassifier.js]]
importScript('User:Richwales/markusers.js');
importScript('User:Lunchboxhero/externISBN.js');

importScript('User:Gracenotes/rollback.js');
importScript('User:Cameltrader/Advisor.js');
importScript('User:Shubinator/DYKcheck.js');
importScript('User:Gimmetrow/fixRefs.js'); // Fix References
importScript('User:Dr pda/prosesize.js'); // Prose Size
importScript('User:Splarka/dabfinder.js'); // Disambiguation lookup script
//importScript('User:Ale_jrb/Scripts/igloo.js'); // [[User:Ale_jrb/Scripts/igloo]]

importScript('User:AzaToth/twinkle.js');
importScript('User:AzaToth/morebits.js');
//importScript('User:Lupin/recent2.js');
//importScript('User:Gracenotes/amelvand.js');
importScript('User:TheJosh/Scripts/NewPagePatrol.js');
importScript('User:Smith609/toolbox.js');
importScript('User:Odie5533/SnipManager.user.js');

importScript('Wikipedia:AutoEd/basic.js');
importScript('Wikipedia:Dazzle!/code.js');
//importScript('Wikipedia:WikiProject User scripts/Scripts/Six tabs');

// Installation for Assessment Bar India
$.getScript("//en.wikipedia.org/w/index.php?title=User:YuviPanda/AssessmentBar/WPIndia.js&action=raw&ctype=text/javascript").then(function() {
    mw.loader.load('//en.wikipedia.org/w/index.php?title=User:YuviPanda/AssessmentBar.js&action=raw&ctype=text/javascript');
});

// [[User:Krimpet/CH2.js]]
importScript('User:Krimpet/CH2.js');

//MediaWiki:Interwiki-links
var wgLangPrefs;
if (!wgLangPrefs) wgLangPrefs = Array();
wgLangPrefs.push("or");

importScriptURI('//or.wikipedia.org/wiki/MediaWiki:Interwiki-links.js');

importScript('User:2D/commonsmover.js');

//QR code
importScript('User:Ansumang/qr.js');

// Add [[WP:Reflinks]] launcher in the toolbox on left
addOnloadHook(function () {
 addPortletLink(
  "p-tb",     // toolbox portlet
  "http://toolserver.org/~dispenser/cgi-bin/webreflinks.py/" + wgPageName
   + "?client=script&citeweb=on&overwrite=&limit=30&lang=" + wgContentLanguage,
  "Reflinks"  // link label
)});

// Adds a link to the acc tool
//
addOnloadHook(function () {
addPortletLink( "p-personal",
 "http://toolserver.org/~acc/acc.php",
 "acc tool", "pt-acctool", "Link to acc tool",
 "7", document.getElementById("pt-logout"));
});

/*
addOnloadHook(function () {
addPortletLink( "p-personal",
"http://en.wikipedia.org/wiki/User:Krinkle/RTRC",
"RTRC", "pt-acctool", "RealTime RecentChanges",
"A", document.getElementById("pt-logout"));
});
*/

addOnloadHook(function () {
addPortletLink( "p-personal",
"http://en.wikipedia.org/wiki/User:ansumang/Resources",
"Rsources", "pt-acctool", "Link to my Resources",
"A", document.getElementById("pt-logout"));
});

/*************
*** Regex menu framework
*** by [[m:user:Pathoschild]] <http://meta.wikimedia.org/wiki/User:Pathoschild/Scripts/Regex_menu_framework>
*** adds a sidebar menu of user-defined scripts.
*************/
importScriptURI('http://meta.wikimedia.org/w/index.php?title=User:Pathoschild/Scripts/Regex_menu_framework.js&action=raw&ctype=text/javascript');

// [[File:Krinkle_RTRC.js]]
//mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/RTRC.js&action=raw&ctype=text/javascript');
 
// [[File:Krinkle_OneClickCommoniser.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/OneClickCommoniser.js&action=raw&ctype=text/javascript');

//Mark blocked users
importScriptURI('http://ru.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript');

// </nowiki></pre>