பயனர் பேச்சு:Sivakumar/monobook.css
importScript('User:Trengarasu/tamil.js');
//whois தொடக்கம்
importScript('User:Trengarasu/whois.js');
//whois முடிவு
//மேலதிக இணைப்புகள்
function ModifySidebar(action, section, name, link) { try { switch (section) { case "languages": var target = "p-lang"; break; case "toolbox": var target = "p-tb"; break; case "navigation": var target = "p-navigation"; break; default: var target = "p-" + section; break; }
if (action == "add") { var node = document.getElementById(target) .getElementsByTagName('div')[0] .getElementsByTagName('ul')[0];
var aNode = document.createElement('a'); var liNode = document.createElement('li');
aNode.appendChild(document.createTextNode(name)); aNode.setAttribute('href', link); liNode.appendChild(aNode); liNode.className='plainlinks'; node.appendChild(liNode); }
if (action == "remove") { var list = document.getElementById(target) .getElementsByTagName('div')[0] .getElementsByTagName('ul')[0];
var listelements = list.getElementsByTagName('li');
for (var i = 0; i < listelements.length; i++) { if (listelements[i].getElementsByTagName('a')[0].innerHTML == name || listelements[i].getElementsByTagName('a')[0].href == link) {
list.removeChild(listelements[i]); } } }
} catch(e) { // lets just ignore what's happened return; } }
function CustomizeModificationsOfSidebar() { //adds commonshelper ModifySidebar("add", "toolbox", "காமன்சு பாட்", "http://tools.wikimedia.de/~magnus/commonshelper.php"); //adds Commons:Upload ModifySidebar("add", "toolbox", "காமன்சு", "http://commons.wikimedia.org/wiki/Commons:Upload"); //adds Commons:Upload ModifySidebar("add", "toolbox", "விக்சனரி", "http://ta.wiktionary.org/wiki/Wiktionary:new_words"); //adds பிலிக்கர் கருவி ModifySidebar("add", "toolbox", "பிலிக்கர் கருவி", "http://wikipedia.ramselehof.de/flinfo.php"); //adds நான் தொடக்கியவை ModifySidebar("add", "toolbox", "தொடக்கியவை", "http://tools.wikimedia.de/~nikola/articlesby.php?user=Trengarasu&lang=ta&wiki=wikipedia"); //adds மேற்கோள் ModifySidebar("add", "toolbox", "மேற்கோள்", "http://tools.wikimedia.de/~magnus/makeref.php"); //adds Krimpet's rangeblock helper ModifySidebar("add", "toolbox", "ஐ.பி.", "http://tools.wikimedia.de/~krimpet/rbhelper.php?db=enwiki_p"); }
addOnloadHook(CustomizeModificationsOfSidebar);
//மேலதிக இணைப்புகள் முடிவு
//wikEd ஐ இணைப்பதற்க்கான நிரல் தொடக்கம்
// install User:Cacycle/wikEd in-browser text editor //document.write('<script type="text/javascript" src="' //+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js' //+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
//wikEd ஐ இணைப்பதற்க்கான நிரல் முடிவு
// வழிமாற்றுகளை பச்சை நிரமாக காடுவதற்கான நிரல் தொடக்கம்
// User:Dschwen/highlightredirects.js - please include this line document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Dschwen/highlightredirects.js' + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
// வழிமாற்றுகளை பச்சை நிரமாக காடுவதற்கான நிரல் முடிவு
//வரவேற்புக்கான வார்ப்புரு இடலுக்கான நிரல் தொடக்கம்
/*
*/ function welcome() { // Find the edit box var txt = document.editform.wpTextbox1; //The welcome *template* you want to use var welcome_template = 'Newuser' var welcome_summary = '[[விக்கிபீடியா|விக்கிபீடியாவிற்கு]] நல்வரவு' var welcome_watch = false // The tag to be included is a welcome message var tag = '{{subst:'+ welcome_template +'}}--~~~~'; // If the edit box doesn't already have this tag... if (txt.value.indexOf(tag) == -1) { // Append the tag txt.value += tag; // Add an edit summary document.editform.wpSummary.value = welcome_summary; document.editform.wpWatchthis.checked = welcome_watch; // Press the Save page button document.editform.submit(); } // If the tag was already there, turn the tab background red to indicate // that the script is functioning properly, but that there is no action // to do. This doesn't interrupt the user's work like an alert() would. else { document.getElementById('ca-unverified').firstChild.style.backgroundColor = "#ff4444"; document.getElementById('ca-unverified').style.backgroundColor = "#ff4444"; } } // Create a tab that calls this function when pressed // Create a tab that calls this function when pressed addOnloadHook( function () { if(document.title.indexOf("தொகுப்பு பயனர் பேச்சு:") == 0) { addPortletLink('p-cactions', 'javascript:welcome()', 'welcome', 'ca-welcome', 'Adds a welcome note to a new user', '', ''); } } ); /* This is to keep track of who is using this extension: [[User:Flex/welcome_newuser.js]] */ /*
*/
//வரவேற்புக்கான வார்ப்புரு இடலுக்கான நிரல் முடிவு
//விசமிகளுக்கான வரவேற்பு வார்ப்புரு இடலுக்கான நிரல் தொடக்கம்
function tnaddlilink(url, name)
{
var na = document.createElement('a');
na.setAttribute('href', url);
var txt = document.createTextNode(name); na.appendChild(txt);
var li = document.createElement('li'); li.appendChild(na); return li; }
function testn(number) { var page = prompt("Vandalism to which article?") var f = document.editform, t = f.wpTextbox1; if (t.value.length > 0) t.value += '\n'; t.value += "{{subst:" + number + "-n|" + page + "}} ~" + "~" + "~" + "~"; f.wpSummary.value = "Vandalism to " + page + " - warning " + number; f.submit(); }
function wA() { var f = document.editform, t = f.wpTextbox1; if (t.value.length > 0) t.value += '\n'; t.value += "{{subst:" + "Anonymous" + "}} ~" + "~" + "~" + "~"; f.wpSummary.value = "விக்கிபீடியாவிற்கு நல்வரவு!"; f.submit(); }
function add_testn_tabs() { var c1 = document.getElementById('column-one'); var tabs = c1.getElementsByTagName('div')[0].getElementsByTagName('ul')[0];
// Only add for pages with "தொகுப்பு பயனர் பேச்சு:" somewhere in the title if (document.title.indexOf("தொகுப்பு பயனர் பேச்சு:") != -1) { tabs.appendChild(tnaddlilink('javascript:wA()',"w-A")); tabs.appendChild(tnaddlilink('javascript:testn("test1")',"t1")); tabs.appendChild(tnaddlilink('javascript:testn("test1a")',"t1a")); tabs.appendChild(tnaddlilink('javascript:testn("test2")',"t2")); tabs.appendChild(tnaddlilink('javascript:testn("test2a")',"t2a")); tabs.appendChild(tnaddlilink('javascript:testn("test3")',"t3")); tabs.appendChild(tnaddlilink('javascript:testn("test4")',"t4")); tabs.appendChild(tnaddlilink('javascript:testn("bv")',"bv")); tabs.appendChild(tnaddlilink('javascript:testn("obscene")',"o")); tabs.appendChild(tnaddlilink('javascript:testn("joke")',"j")); tabs.appendChild(tnaddlilink('javascript:testn("welcomenpov")',"w-N"));
}}
addOnloadHook(add_testn_tabs);
//விசமிகளுக்கான வரவேற்பு வார்ப்புரு இடலுக்கான நிரல் முடிவு
//விக்கியாக்கம் வார்ப்புரு இடல் தொடக்கம்
// If you are editing a page, click the wikify button on your tab bar to add "{{விக்கியாக்கம்}}" to the top, set "'விக்கிபடுத்த வேண்டல் வார்ப்புரு" as the edit summary, mark it as a minor edit, and submit.
function doWikify() { document.editform.wpTextbox1.value = '{' + '{' + 'விக்கியாக்கம்}}\n\n' + document.editform.wpTextbox1.value; document.editform.wpSummary.value = 'விக்கிபடுத்த வேண்டல் வார்ப்புரு'; document.editform.wpMinoredit.checked = true; document.editform.submit(); }
addOnloadHook(function() { if (wgCanonicalNamespace == "பயனர்" || wgCanonicalNamespace == "பயனர்_பேச்சு") { // wouldn't it make more sense to just check for wgCanonicalNamespace != "", or am I missing something? return; } if (document.editform) { addPortletLink("p-cactions", "javascript:doWikify()", "wikify", "ca-wikify", "விக்கிபடுத்த வேண்டல் வார்ப்புரு", ""); } });
// விக்கியாக்கம் வார்ப்புரு இடல் முடிவு
//தரமுயர்த்த வார்ப்புரு இடல் தொடக்கம்
// If you are editing a page, click the wikify button on your tab bar to add "{{தரமுயர்த்து}}" to the top, set "'தரமுயர்த்த வேண்டல்" as the edit summary, mark it as a minor edit, and submit.
function doUpgrade() { document.editform.wpTextbox1.value = '{' + '{' + 'தரமுயர்த்து}}\n\n' + document.editform.wpTextbox1.value; document.editform.wpSummary.value = 'தரமுயர்த்த வேண்டல்'; document.editform.wpMinoredit.checked = true; document.editform.submit(); }
addOnloadHook(function() { if (wgCanonicalNamespace == "பயனர்" || wgCanonicalNamespace == "பயனர்_பேச்சு") { // wouldn't it make more sense to just check for wgCanonicalNamespace != "", or am I missing something? return; } if (document.editform) { addPortletLink("p-cactions", "javascript:doUpgrade()", "upgrade", "ca-upgrade", "தரமுயர்த்த வேண்டல் வார்ப்புரு", ""); } });
// தரமுயர்த்து வார்ப்புரு இடல் முடிவு
//விரைவு நீக்கம் வார்ப்புரு இடல் தொடக்கம்
// If you are editing a page, click the wikify button on your tab bar to add "{{'Speed-delete-on|{{subst:CURRENTDAY}}{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}" to the top, set "Marked for wikification" as the edit summary, mark it as a minor edit, and submit.
function doSpd() { document.editform.wpTextbox1.value = '{' + '{' + 'Speed-delete-on|' + '{' + '{' + 'subst:CURRENTDAY}} ' + '{' + '{' + 'subst:CURRENTMONTHNAME}} ' + '{' + '{' + 'subst:CURRENTYEAR}}}}\n\n' + document.editform.wpTextbox1.value; document.editform.wpSummary.value = 'விரைவு நீக்கம் வேண்டல்'; document.editform.wpMinoredit.checked = true; document.editform.submit(); }
addOnloadHook(function() { if (wgCanonicalNamespace == "பயனர்" || wgCanonicalNamespace == "பயனர்_பேச்சு") { // wouldn't it make more sense to just check for wgCanonicalNamespace != "", or am I missing something? return; } if (document.editform) { addPortletLink("p-cactions", "javascript:doSpd()", "spd", "ca-spd", "விரைவு நீக்கம் வேண்டல்", ""); } });
//
//விரைவு நீக்கம் வார்ப்புரு இடல் முடிவு
//எனது கடைசி தொகுப்பக்கு பின்னரான மாற்றங்களை காட்டுதல்
//From http://en.wikipedia.org/w/index.php?title=User:JesseW/monobook.js&oldid=20755510 function addSinceTab() { if (window.location.href.indexOf("&action=history&gotosince=true")!=-1) { do_since_I_last_edited() } else if (wgCanonicalNamespace != "Special") { addPortletLink("p-cactions", "/w/index.php?title="+wgPageName+"&action=history&gotosince=true", 'since', , "since"); } } function do_since_I_last_edited() { var csub=document.getElementById("contentSub"); var msg=document.createElement("p"); msg.appendChild(document.createTextNode ("Parsing history... please wait...")); msg.className="error"; csub.insertBefore(msg, csub.firstChild)
var username=document.getElementById("pt-userpage").textContent; var hists=document.getElementById("pagehistory").getElementsByTagName('li'); for (n=0;n<hists.length;n++) { if (hists[n].getElementsByTagName("span")[0].getElementsByTagName('a')[0].textContent==username) { document.location=hists[n].childNodes[1].href; return; } }
msg.replaceChild(document.createTextNode ("You have not edited this page! (recently)"), msg.firstChild); }
addOnloadHook(addSinceTab);
//
// tags start
importScript('Wikipedia:WikiProject User scripts/Scripts/Add LI menu'); importStylesheet('Wikipedia:WikiProject User scripts/Scripts/Add LI menu/css'); importScript('User:S/tags.js');
//tags finish
// document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Misza13/statusChanger.js' + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');