User:Titodutta/vector.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
![]() | The accompanying .css page for this skin is at User:Titodutta/vector.css. |
importScript('MediaWiki:Gadget-HotCat.js');// [[User:Lupin/popups.js]]
importScript('User:Cameltrader/Advisor.js');
importScript("Wikipedia:Dazzle!/code.js");
importScript('User:TheDJ/sharebox.js');
importScript('User:Equazcion/SidebarHistoryTools.js'); //[[User:Equazcion/SidebarHistoryTools]]
importScript('User:Timotheus Canens/afchelper4.js'); // Yet another AfC helper script v4.
importScript('User:Ale_jrb/Scripts/igloo.js'); // [[User:Ale_jrb/Scripts/igloo]]
importScript('User:Ohconfucius/script/EngvarB.js'); // Eng Var script.
importScript('User:Ohconfucius/script/formatgeneral.js'); // Formatting script.
importScript('User:Ohconfucius/script/MOSNUM dates.js'); // MOSNUM script.
importScript('User:Ohconfucius/script/Common Terms.js'); //[[User:Ohconfucius/script/Common Terms.js]]
importScript('User:Lilac Soul/autoformat.js'); //Autoformat script
importScript('User:Lilac Soul/dabsolve.js'); //Dabsolver script
importScript('User:Jorgenev/scripts/EnhancedUserContribs.js'); //Enhanced editor
importScript('User:CBM/stubtagtab.js'); //Stub Tag
importScript('User:Ucucha/duplinks.js'); // [[User:Ucucha/duplinks]]
importScript("Wikipedia:Dazzle!/code.js");
importScript('User:AWeenieMan/furme.js');
importScript('User:Mr.Z-man/refToolbar.js');
importScrpt('User:GregU/dashes.js'); //Fixes Dashes
// [[User:Lenore/autolink]]
importScript('User:Lenore/autolink.js');
importScript('User:1exec1/dates.js');
importScript('User:1exec1/dates override.js');
importScript('User:User:MGA73/nowcommonsreview.js'); //Should an image be moved to Commons, check it with this script!
importScript('User:Ohconfucius/script/Common Terms.js'); //[[User:Ohconfucius/script/Common Terms.js]]
importScript("User:PleaseStand/segregate-refs.js");
importScript("User:Symplectic_Map/spell.js");
importScript("User:Ohconfucius/test/Sources.js");
importScript('User:Bility/copySectionLink.js');
// [[User:Zocky/PicturePopups.js]]
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Zocky/PicturePopups.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
// [[User:Zocky/SearchBox.js]]
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Zocky/SearchBox.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
// [[User:Zocky/AutoComplete.js]]
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Zocky/AutoComplete.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
// [[User:Zocky/LinkComplete.js]]
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Zocky/LinkComplete.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
LinkClassifierOnDemand=true;
importScript('User:Anomie/linkclassifier.js'); // Linkback: [[User:Anomie/linkclassifier.js]]
importStylesheet('User:Anomie/linkclassifier.css'); // Linkback: [[User:Anomie/linkclassifier.css]]
addOnloadHook(function(){
addPortletLink('p-cactions', 'javascript:LinkClassifier.onDemand()', 'linkclassifier');
});
importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool
*/
<!--Unwatch from watchlist begins-->
addOnloadHook(function () {
// Check if we're on the watchlist
if (!wgCanonicalSpecialPageName || wgCanonicalSpecialPageName != "Watchlist") return;
if (!document.forms[0] || !document.forms[0].namespace) return;
// Unwatch links go back to watchlist with "Removing requested items from watchlist..." message
var query_prefix = "title="+encodeURIComponent(wgPageName)+"&action=submit&remove=1&id[]=";
// ...or...
// Unwatch links go to "Removed from watchlist" page
//var query_prefix = "action=unwatch&title=";
// get list of all links in content:
var links = document.getElementById('content').getElementsByTagName('a');
// make a static copy of the nodelist and lose the original for speed
// while we're at it, prune the uninteresting links from the list
var linksCopy = new Array ();
for (var i = 0; i < links.length; i++) {
if (/[?&]action=history([&#]|$)/.test(links[i].href)) linksCopy.push(links[i]);
}
links = linksCopy;
for (var i = 0; i < links.length; i++) {
// create unwatch link and append it after history link
var unwatch = document.createElement('a');
unwatch.href = wgServer + wgScriptPath + "/index.php?" + query_prefix + encodeURIComponent(links[i].title);
unwatch.title = "Unwatch "+links[i].title;
unwatch.appendChild(document.createTextNode("unwatch"));
links[i].parentNode.insertBefore(unwatch, links[i].nextSibling);
// insert a delimiter between the two links
var delim = links[i].previousSibling;
delimText = (delim.nodeType == 3 ? delim.nodeValue : ""); // kluge to handle case where "diff" is unlinked
delim = document.createTextNode(delimText.replace(/^.*diff/, ""));
links[i].parentNode.insertBefore(delim, unwatch);
}
});
//
<!--Unwatch from watchlist begins-->